选煤厂生产管理平台后台代码
dongyukun
2024-12-10 3f07ab2e03e501ae55d1d1b0d031daf50c8e13e5
提交 | 用户 | 时间
7e21bc 1 package com.iailab.module.pms.coalquality.modules.detection.dao;
J 2
3
4 import com.iailab.framework.common.pojo.PageResult;
5 import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
6 import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
7 import com.iailab.module.pms.coalquality.modules.detection.entity.QualityTailingEntity;
8 import com.iailab.module.pms.coalquality.modules.detection.vo.TailingPageReqVO;
9 import org.apache.commons.lang3.StringUtils;
10 import org.apache.ibatis.annotations.Mapper;
11
12 /**
13  * @author PanZhibao
14  * @Description
15  * @createTime 2023年02月07日 17:20:00
16  */
17 @Mapper
18 public interface QualityTailingDao extends BaseMapperX<QualityTailingEntity> {
19
20     default PageResult<QualityTailingEntity> selectPage(TailingPageReqVO reqVO) {
21         return selectPage(reqVO, new LambdaQueryWrapperX<QualityTailingEntity>()
22                 .eq(StringUtils.isNotBlank(reqVO.getRq()), QualityTailingEntity::getRq, reqVO.getRq())
23         );
24     }
25 }