SmartUserMapper.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.AffiliateParentVo;
  7. import com.template.model.vo.AffiliateUserVo;
  8. import com.template.model.vo.GradeVo;
  9. import com.template.model.vo.UserVo;
  10. import org.apache.ibatis.annotations.Param;
  11. import org.springframework.stereotype.Repository;
  12. import java.util.List;
  13. /**
  14. * <p>
  15. * Mapper 接口
  16. * </p>
  17. *
  18. * @author ceshi
  19. * @since 2023-12-04
  20. */
  21. @Repository
  22. public interface SmartUserMapper extends BaseMapper<SmartUser> {
  23. List<AffiliateUserVo> queryAffiliateUserById(@Param("id") Integer id);
  24. IPage<UserVo> querySmartUserPages(IPage<UserVo> page,@Param("departmentIds") List<Integer> departmentIds, @Param("name") String name);
  25. List<SmartUser> querySmartUsers(@Param("departmentIds") List<Integer> departmentIds, @Param("name") String name);
  26. IPage<GradeVo> querySmartSecordPage(IPage<GradeVo> page, @Param("name") String name);
  27. IPage<UserVo> warningUserList(Page<UserVo> page,@Param("departmentIds") List<Integer> departmentIds,@Param("name") String name);
  28. List<SmartUser> warningPushList();
  29. List<AffiliateParentVo> queryAffiliateParents(@Param("userId") Integer userId);
  30. }