SmartUserMapper.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.template.mapper;
  2. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  3. import com.template.model.pojo.SmartUser;
  4. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  5. import com.baomidou.mybatisplus.core.metadata.IPage;
  6. import com.template.model.vo.AffiliateUserVo;
  7. import com.template.model.vo.GradeVo;
  8. import com.template.model.vo.UserVo;
  9. import org.apache.ibatis.annotations.Param;
  10. import org.springframework.stereotype.Repository;
  11. import java.util.List;
  12. /**
  13. * <p>
  14. * Mapper 接口
  15. * </p>
  16. *
  17. * @author ceshi
  18. * @since 2023-12-04
  19. */
  20. @Repository
  21. public interface SmartUserMapper extends BaseMapper<SmartUser> {
  22. List<AffiliateUserVo> queryAffiliateUserById(@Param("id") Integer id);
  23. IPage<UserVo> querySmartUserPages(IPage<UserVo> page,@Param("departmentIds") List<Integer> departmentIds, @Param("name") String name);
  24. List<SmartUser> querySmartUsers(@Param("departmentIds") List<Integer> departmentIds, @Param("name") String name);
  25. IPage<GradeVo> querySmartSecordPage(IPage<GradeVo> page, @Param("name") String name);
  26. IPage<UserVo> warningUserList(Page<UserVo> page,@Param("departmentIds") List<Integer> departmentIds,@Param("name") String name);
  27. List<SmartUser> warningPushList();
  28. }