提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.bpm.dal.mysql.task; |
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.task.vo.instance.BpmProcessInstanceCopyPageReqVO; |
|
7 |
import com.iailab.module.bpm.dal.dataobject.task.BpmProcessInstanceCopyDO; |
|
8 |
import org.apache.ibatis.annotations.Mapper; |
|
9 |
|
|
10 |
@Mapper |
|
11 |
public interface BpmProcessInstanceCopyMapper extends BaseMapperX<BpmProcessInstanceCopyDO> { |
|
12 |
|
|
13 |
default PageResult<BpmProcessInstanceCopyDO> selectPage(Long loginUserId, BpmProcessInstanceCopyPageReqVO reqVO) { |
|
14 |
return selectPage(reqVO, new LambdaQueryWrapperX<BpmProcessInstanceCopyDO>() |
|
15 |
.eqIfPresent(BpmProcessInstanceCopyDO::getUserId, loginUserId) |
|
16 |
.likeIfPresent(BpmProcessInstanceCopyDO::getProcessInstanceName, reqVO.getProcessInstanceName()) |
|
17 |
.betweenIfPresent(BpmProcessInstanceCopyDO::getCreateTime, reqVO.getCreateTime()) |
|
18 |
.orderByDesc(BpmProcessInstanceCopyDO::getId)); |
|
19 |
} |
|
20 |
|
|
21 |
} |