SmartUserMapper.java 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. package com.template.mapper;
  2. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  3. import com.template.model.dto.WarningUserDto;
  4. import com.template.model.pojo.SmartUser;
  5. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  6. import com.baomidou.mybatisplus.core.metadata.IPage;
  7. import com.template.model.vo.*;
  8. import org.apache.ibatis.annotations.Param;
  9. import org.springframework.stereotype.Repository;
  10. import java.util.List;
  11. /**
  12. * <p>
  13. * Mapper 接口
  14. * </p>
  15. *
  16. * @author ceshi
  17. * @since 2023-12-04
  18. */
  19. @Repository
  20. public interface SmartUserMapper extends BaseMapper<SmartUser> {
  21. List<AffiliateUserVo> queryAffiliateUserById(@Param("id") Integer id);
  22. IPage<UserVo> querySmartUserPages(IPage<UserVo> page,@Param("departmentIds") List<Integer> departmentIds, @Param("name") String name);
  23. List<SmartUser> querySmartUsers(@Param("departmentIds") List<Integer> departmentIds, @Param("name") String name);
  24. IPage<GradeVo> querySmartSecordPage(IPage<GradeVo> page, @Param("name") String name, @Param("userId") Integer userId);
  25. IPage<UserDeleteVo> queryUserDeletePage(IPage<UserDeleteVo> page);
  26. IPage<WarningUserDto> warningUserList(Page<UserVo> page, @Param("name") String name);
  27. List<WarningUserDto> warningPushList();
  28. List<AffiliateParentVo> queryAffiliateParents(@Param("userId") Integer userId);
  29. List<SmartUser> getAffiliateList(@Param("id")Integer id);
  30. SmartUserVo querySmartUserById(@Param("userId") Integer userId);
  31. int deleteUserBatch(@Param("list") List<deleteUserVo> list);
  32. SmartStudentVo querySmartStudentById(@Param("userId") Integer userId);
  33. List<SmartUserAffiliateVo> getAffiliateUser(@Param("affiliate") String affiliate);
  34. List<StudentSelectVo> studentSelect(@Param("keyWord") String keyWord);
  35. }