SmartUserService.java 1.7 KB

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