提交 | 用户 | 时间
|
7fd198
|
1 |
package com.iailab.module.model.mcs.sche.dao; |
潘 |
2 |
|
bbc1ee
|
3 |
import com.iailab.framework.common.pojo.PageResult; |
7fd198
|
4 |
import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
bbc1ee
|
5 |
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; |
58c749
|
6 |
import com.iailab.framework.tenant.core.db.dynamic.TenantDS; |
7fd198
|
7 |
import com.iailab.module.model.mcs.sche.entity.StScheduleModelEntity; |
bbc1ee
|
8 |
import com.iailab.module.model.mcs.sche.vo.StScheduleModelPageReqVO; |
7fd198
|
9 |
import org.apache.ibatis.annotations.Mapper; |
潘 |
10 |
|
|
11 |
/** |
|
12 |
* @author PanZhibao |
|
13 |
* @date 2021年07月19日 17:56 |
|
14 |
*/ |
58c749
|
15 |
@TenantDS |
7fd198
|
16 |
@Mapper |
潘 |
17 |
public interface StScheduleModelDao extends BaseMapperX<StScheduleModelEntity> { |
|
18 |
|
bbc1ee
|
19 |
default PageResult<StScheduleModelEntity> selectPage(StScheduleModelPageReqVO reqVO) { |
潘 |
20 |
return selectPage(reqVO, new LambdaQueryWrapperX<StScheduleModelEntity>() |
|
21 |
.likeIfPresent(StScheduleModelEntity::getModelCode, reqVO.getModelCode()) |
|
22 |
.likeIfPresent(StScheduleModelEntity::getModelName, reqVO.getModelName()) |
|
23 |
.orderByDesc(StScheduleModelEntity::getCreateTime)); |
|
24 |
} |
7fd198
|
25 |
} |