SmartUserMapper.java 878 B

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