package com.ym.mec.collectfee.dao;

import com.ym.mec.collectfee.common.dao.BaseDAO;
import com.ym.mec.collectfee.entity.ApplyInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface ApplyInfoDao extends BaseDAO<Integer, ApplyInfo> {

    /**
     * 根据用户输入的手机，乐团编号查询用户信息
     * @param phone
     * @param clazzId
     * @return
     */
    ApplyInfo findUserByPhone(@Param("phone") String phone, @Param("clazzId") Integer clazzId);
}