提交 | 用户 | 时间
|
7e21bc
|
1 |
package com.iailab.module.pms.coalquality.modules.detection.dao; |
J |
2 |
|
|
3 |
|
|
4 |
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
5 |
import com.iailab.framework.common.pojo.PageResult; |
|
6 |
import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
|
7 |
import com.iailab.module.pms.coalquality.modules.detection.entity.QualityQuickEntity; |
|
8 |
import com.iailab.module.pms.coalquality.modules.detection.vo.QuickPageReqVO; |
|
9 |
import org.apache.commons.lang3.StringUtils; |
|
10 |
import org.apache.ibatis.annotations.Mapper; |
|
11 |
|
|
12 |
/** |
|
13 |
* @author DongYukun |
|
14 |
* @Description |
|
15 |
* @createTime 2023年12月27日 9:53:00 |
|
16 |
*/ |
|
17 |
@Mapper |
|
18 |
public interface QualityQuickDao extends BaseMapperX<QualityQuickEntity> { |
|
19 |
default PageResult<QualityQuickEntity> selectPage(QuickPageReqVO reqVO) { |
|
20 |
return selectPage(reqVO, new QueryWrapper<QualityQuickEntity>() |
|
21 |
.eq(StringUtils.isNotBlank(reqVO.getRq()), "left(datetime,10)", reqVO.getRq()) |
|
22 |
); |
|
23 |
} |
|
24 |
} |