package com.iailab.module.pms.coalquality.modules.detection.dao;
|
|
|
import com.iailab.framework.common.pojo.PageResult;
|
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
|
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
|
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityTailingEntity;
|
import com.iailab.module.pms.coalquality.modules.detection.vo.TailingPageReqVO;
|
import org.apache.commons.lang3.StringUtils;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2023年02月07日 17:20:00
|
*/
|
@Mapper
|
public interface QualityTailingDao extends BaseMapperX<QualityTailingEntity> {
|
|
default PageResult<QualityTailingEntity> selectPage(TailingPageReqVO reqVO) {
|
return selectPage(reqVO, new LambdaQueryWrapperX<QualityTailingEntity>()
|
.eq(StringUtils.isNotBlank(reqVO.getRq()), QualityTailingEntity::getRq, reqVO.getRq())
|
);
|
}
|
}
|