DeviceInfoMapper.java 912 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.xy.mapper;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.baomidou.mybatisplus.core.metadata.IPage;
  4. import com.xy.dto.DeviceInfoDto;
  5. import com.xy.entity.DeviceInfo;
  6. import com.xy.mapper.entity.DeviceInfoQueryPage;
  7. import org.apache.ibatis.annotations.Param;
  8. import java.util.List;
  9. /**
  10. * <p>
  11. * 设备-信息 Mapper 接口
  12. * </p>
  13. *
  14. * @author lijin
  15. * @since 2022-12-23
  16. */
  17. public interface DeviceInfoMapper extends BaseMapper<DeviceInfo> {
  18. /**
  19. * 分页查询
  20. *
  21. * @param page
  22. * @param queryPage
  23. * @return
  24. */
  25. IPage<DeviceInfoQueryPage> queryPage(IPage page, @Param("queryPage") DeviceInfoDto.Page queryPage);
  26. /**
  27. * 小程序首页设备列表线路分组
  28. *
  29. * @param queryDTO
  30. * @return
  31. */
  32. List<DeviceInfoDto.MercHomeCountVO> merHomeCountList(@Param("query") DeviceInfoDto.MercHomeQueryDTO queryDTO);
  33. }