SmartUserService.java 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package com.template.services;
  2. import com.template.model.dto.WarningUserDto;
  3. import com.template.model.pojo.SmartUser;
  4. import com.template.model.pojo.SmartUser;
  5. import com.baomidou.mybatisplus.extension.service.IService;
  6. import com.template.model.result.PageUtils;
  7. import com.template.model.vo.*;
  8. import org.apache.ibatis.annotations.Param;
  9. import java.util.List;
  10. /**
  11. * <p>
  12. * 服务类
  13. * </p>
  14. *
  15. * @author ceshi
  16. * @since 2023-12-04
  17. */
  18. public interface SmartUserService extends IService<SmartUser> {
  19. int insertSmartUser(SmartUser rns);
  20. int updateSmartUser(SmartUser rns);
  21. PageUtils<SmartUser> queryPageSmartUsers(int currentPage, int pageCount, List<Integer> departmentIds);
  22. List<SmartUser> getSmartUserByIds(List<Integer> ids);
  23. List<SmartUser> getSmartUserIds(List<String> ids);
  24. int getSmartUserCountByIds(List<Integer> ids);
  25. boolean updateUserBatchById(List<SmartUser> users);
  26. Integer querySmartUserByCardNo(String cardNo);
  27. int deleteSmartUserById(int id);
  28. int deleteSmartUserByIds(List<Integer> ids);
  29. List<SmartUser> getSmartUserList(List<Integer> ids);
  30. List<AffiliateUserVo> queryAffiliateUserById(@Param("id") Integer id);
  31. PageUtils<UserVo> querySmartUserPages(int currentPage, int pageCount, List<Integer> departmentIds, String name);
  32. PageUtils<GradeVo> querySmartSecordPage(int currentPage, int pageCount, String name);
  33. List<SmartUser> querySmartUsers(List<Integer> departmentIds, String name);
  34. List<SmartUser> queryStudentDatas();
  35. List<SmartUser> queryStudentBySchoolClass(Integer schoolClass);
  36. PageUtils<WarningUserDto> warningUserList(int currentPage, int pageCount, String name);
  37. List<SmartUser> warningPushList();
  38. List<AffiliateParentVo> queryAffiliateParents(Integer userId);
  39. /**
  40. * 获取用户信息
  41. * @param name 姓名
  42. * @param cardNo 编号
  43. * @param idCard 身份证号
  44. * @return
  45. */
  46. SmartUser queryUserInfo(String name,String cardNo,String idCard);
  47. SmartUser getSmartById(Integer id);
  48. }