ApplyInfoDao.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.ym.mec.collectfee.dao;
  2. import com.ym.mec.collectfee.common.dao.BaseDAO;
  3. import com.ym.mec.collectfee.entity.*;
  4. import org.apache.ibatis.annotations.Param;
  5. import org.springframework.stereotype.Component;
  6. import java.util.Date;
  7. import java.util.List;
  8. import java.util.Map;
  9. @Component
  10. public interface ApplyInfoDao extends BaseDAO<Integer, ApplyInfo> {
  11. /**
  12. * 根据用户输入的手机,乐团编号查询用户信息
  13. * @param phone
  14. * @param clazzId
  15. * @return
  16. */
  17. ApplyInfo findUserByPhone(@Param("phone") String phone, @Param("clazzId") Integer clazzId);
  18. /**
  19. * 根据学生编号获取乐团注册页面数据
  20. * @param stuId
  21. * @return
  22. */
  23. Map<String,Object> getUserRegisterVIewDetail(Integer stuId);
  24. List<ApplyInfoPage> queryUserPage(Map<String, Object> queryInfo);
  25. int queryUserCount(Map<String, Object> params);
  26. /**
  27. * 根据mec用户信息查询用户信息
  28. * @param userId
  29. * @return
  30. */
  31. ApplyInfo findByUserId(Integer userId);
  32. /**
  33. * 调剂
  34. * @param userId
  35. * @param subId
  36. */
  37. int updateUserSub(@Param("userId") Integer userId, @Param("subId")Integer subId, @Param("courseId")Integer courseId, @Param("updateTime") Date updateTime);
  38. List<String> findUserByClass(@Param("classId") Integer classId,@Param("status") Integer status);
  39. }