提交 | 用户 | 时间
|
7fd198
|
1 |
package com.iailab.module.model.mcs.pre.dao; |
潘 |
2 |
|
|
3 |
import com.iailab.framework.common.pojo.PageResult; |
|
4 |
import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
|
5 |
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; |
|
6 |
import com.iailab.module.model.mcs.pre.entity.MmResultTableEntity; |
|
7 |
import com.iailab.module.model.mcs.pre.entity.MmResultTableEntity; |
|
8 |
import com.iailab.module.model.mcs.pre.vo.MmResultTablePageReqVO; |
|
9 |
import org.apache.ibatis.annotations.Mapper; |
|
10 |
|
|
11 |
/** |
|
12 |
* @author PanZhibao |
|
13 |
* @date 2021年04月23日 16:20 |
|
14 |
*/ |
|
15 |
@Mapper |
|
16 |
public interface MmResultTableDao extends BaseMapperX<MmResultTableEntity> { |
|
17 |
|
|
18 |
default PageResult<MmResultTableEntity> selectPage(MmResultTablePageReqVO reqVO) { |
|
19 |
return selectPage(reqVO, new LambdaQueryWrapperX<MmResultTableEntity>() |
|
20 |
.likeIfPresent(MmResultTableEntity::getTablename, reqVO.getTablename()) |
|
21 |
.orderByDesc(MmResultTableEntity::getTablename)); |
|
22 |
} |
|
23 |
} |