| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- package com.template.services;
- import com.baomidou.mybatisplus.core.metadata.IPage;
- import com.template.model.dto.WarningUserDto;
- import com.template.model.pojo.SmartUser;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.template.model.result.PageUtils;
- import com.template.model.vo.*;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- /**
- * <p>
- * 服务类
- * </p>
- *
- * @author ceshi
- * @since 2023-12-04
- */
- public interface SmartUserService extends IService<SmartUser> {
- int insertSmartUser(SmartUser rns);
- int updateSmartUser(SmartUser rns);
- PageUtils<SmartUser> queryPageSmartUsers(int currentPage, int pageCount, List<Integer> departmentIds);
- List<SmartUser> getSmartUserByIds(List<Integer> ids);
- List<SmartUser> getSmartUserIds(List<String> ids);
- int getSmartUserCountByIds(List<Integer> ids);
- boolean updateUserBatchById(List<SmartUser> users);
- Integer querySmartUserByCardNo(String cardNo);
- int deleteSmartUserById(int id);
- int deleteSmartUserByIds(List<Integer> ids);
- List<SmartUser> getSmartUserList(List<Integer> ids);
- List<AffiliateUserVo> queryAffiliateUserById(@Param("id") Integer id);
- PageUtils<UserVo> querySmartUserPages(int currentPage, int pageCount, List<Integer> departmentIds, String name);
- PageUtils<GradeVo> querySmartSecordPage(int currentPage, int pageCount, String name, Integer userId);
- List<SmartUser> querySmartUsers(List<Integer> departmentIds, String name);
- List<SmartUser> queryStudentDatas();
- List<SmartUser> queryStudentBySchoolClass(Integer schoolClass);
- PageUtils<WarningUserDto> warningUserList(int currentPage, int pageCount, String name);
- List<WarningUserDto> warningPushList();
- List<AffiliateParentVo> queryAffiliateParents(Integer userId);
- /**
- * 获取用户信息
- * @param name 姓名
- * @param cardNo 编号
- * @param idCard 身份证号
- * @return
- */
- SmartUser queryUserInfo(String name,String cardNo,String idCard);
- SmartUser getSmartById(Integer id);
- List<SmartUser> getSmartUserByxwuids(List<String> xwuids);
- /**
- * 获取可推送的人
- * @return
- */
- List<SmartUser> getListPush();
- /**
- * 通过id查找所关联的人
- * @param id
- * @return
- */
- List<SmartUser> getAffiliateList(Integer id);
- List<SmartUser> querySmartUserByCardNos(List<String> cardNos);
- SmartUserVo querySmartUserById(Integer id);
- int deleteUserBatch(List<deleteUserVo> list);
- PageUtils<UserDeleteVo> queryUserDeletePage(int currentPage, int pageCount);
- SmartStudentVo querySmartStudentById(Integer userId);
- List<SmartUser> queryStudentsByGrade(List<String> gradeIds);
- List<SmartUser> queryUsersByClass(Integer schoolClass);
- List<SmartUser> getListUser();
- /**
- * 通过手机号找到对应的人
- * @param phone
- * @return
- */
- SmartUser getPhoneUser(String phone);
- /**
- * 通过手机号找到对应的人
- * @param phone
- * @return
- */
- List<SmartUser> getPhoneUsers(String phone);
- /**
- * 通过关联人找到对应用户
- * @param affiliate
- * @return
- */
- List<SmartUser> getAffiliateUser(String affiliate);
- /**
- * 通过身份证号和学号查询对应的人
- * @param certificateNumber
- * @return
- */
- SmartUser getCard(String certificateNumber);
- /**
- * 通过百胜门禁编号查询对应的人
- * @param idNum
- * @return
- */
- SmartUser getBsStudentNo(String idNum);
- List<SmartUser> getChargeTeacher(Integer schoolClass);
- }
|