package com.ym.mec.collectfee.service.impl;

import com.ym.mec.collectfee.common.dao.BaseDAO;
import com.ym.mec.collectfee.common.service.impl.BaseServiceImpl;
import com.ym.mec.collectfee.dao.ApplyInfoDao;
import com.ym.mec.collectfee.entity.ApplyInfo;
import com.ym.mec.collectfee.service.ApplyInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ApplyInfoServiceImpl extends BaseServiceImpl<Integer, ApplyInfo> implements ApplyInfoService {
	
	@Autowired
	private ApplyInfoDao applyInfoDao;

	@Override
	public BaseDAO<Integer, ApplyInfo> getDAO() {
		return applyInfoDao;
	}

	@Override
	public ApplyInfo findUserByPhone(String phone, Integer clazzId) {
		return applyInfoDao.findUserByPhone(phone,clazzId);
	}
}