package com.iailab.module.bpm.dal.mysql.definition;
|
|
import com.iailab.framework.common.pojo.PageResult;
|
import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
|
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
|
import com.iailab.module.bpm.controller.admin.definition.vo.expression.BpmProcessExpressionPageReqVO;
|
import com.iailab.module.bpm.dal.dataobject.definition.BpmProcessExpressionDO;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* BPM 流程表达式 Mapper
|
*
|
* @author iailab
|
*/
|
@Mapper
|
public interface BpmProcessExpressionMapper extends BaseMapperX<BpmProcessExpressionDO> {
|
|
default PageResult<BpmProcessExpressionDO> selectPage(BpmProcessExpressionPageReqVO reqVO) {
|
return selectPage(reqVO, new LambdaQueryWrapperX<BpmProcessExpressionDO>()
|
.likeIfPresent(BpmProcessExpressionDO::getName, reqVO.getName())
|
.eqIfPresent(BpmProcessExpressionDO::getStatus, reqVO.getStatus())
|
.betweenIfPresent(BpmProcessExpressionDO::getCreateTime, reqVO.getCreateTime())
|
.orderByDesc(BpmProcessExpressionDO::getId));
|
}
|
|
}
|