提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.bpm.dal.mysql.definition; |
H |
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.bpm.controller.admin.definition.vo.expression.BpmProcessExpressionPageReqVO; |
|
7 |
import com.iailab.module.bpm.dal.dataobject.definition.BpmProcessExpressionDO; |
|
8 |
import org.apache.ibatis.annotations.Mapper; |
|
9 |
|
|
10 |
/** |
|
11 |
* BPM 流程表达式 Mapper |
|
12 |
* |
|
13 |
* @author iailab |
|
14 |
*/ |
|
15 |
@Mapper |
|
16 |
public interface BpmProcessExpressionMapper extends BaseMapperX<BpmProcessExpressionDO> { |
|
17 |
|
|
18 |
default PageResult<BpmProcessExpressionDO> selectPage(BpmProcessExpressionPageReqVO reqVO) { |
|
19 |
return selectPage(reqVO, new LambdaQueryWrapperX<BpmProcessExpressionDO>() |
|
20 |
.likeIfPresent(BpmProcessExpressionDO::getName, reqVO.getName()) |
|
21 |
.eqIfPresent(BpmProcessExpressionDO::getStatus, reqVO.getStatus()) |
|
22 |
.betweenIfPresent(BpmProcessExpressionDO::getCreateTime, reqVO.getCreateTime()) |
|
23 |
.orderByDesc(BpmProcessExpressionDO::getId)); |
|
24 |
} |
|
25 |
|
|
26 |
} |