package com.iailab.module.pms.coalquality.modules.detection.dao;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.iailab.framework.common.pojo.PageResult;
|
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
|
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityQuickEntity;
|
import com.iailab.module.pms.coalquality.modules.detection.vo.QuickPageReqVO;
|
import org.apache.commons.lang3.StringUtils;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* @author DongYukun
|
* @Description
|
* @createTime 2023年12月27日 9:53:00
|
*/
|
@Mapper
|
public interface QualityQuickDao extends BaseMapperX<QualityQuickEntity> {
|
default PageResult<QualityQuickEntity> selectPage(QuickPageReqVO reqVO) {
|
return selectPage(reqVO, new QueryWrapper<QualityQuickEntity>()
|
.eq(StringUtils.isNotBlank(reqVO.getRq()), "left(datetime,10)", reqVO.getRq())
|
);
|
}
|
}
|