ref(bactorpm): 优化任务查询条件和结果
- 更新 BpmTaskExtMapper 中的任务状态查询条件
This commit is contained in:
parent
e049241b85
commit
3b32e3dd1b
@ -104,7 +104,7 @@ public interface BpmTaskExtMapper extends BaseMapperX<BpmTaskExtDO> {
|
||||
queryWrapperX.ne(BpmTaskExtDO::getReason, BpmConstants.AUTO_APPRAVAL);
|
||||
// queryWrapperX.ne(BpmTaskExtDO::getResult,4); //还未开始审批,发起人主动撤销的流程,不显示
|
||||
if (pageVO.getResult() != null) {
|
||||
queryWrapperX.eq(BpmTaskExtDO::getResult,pageVO.getResult());
|
||||
queryWrapperX.eq(BpmProcessInstanceExtDO::getStatus,pageVO.getResult());
|
||||
}
|
||||
queryWrapperX.betweenIfPresent(BpmTaskExtDO::getCreateTime, pageVO.getCreateTime());
|
||||
queryWrapperX.orderByDesc(BpmTaskExtDO::getEndTime);
|
||||
|
Loading…
Reference in New Issue
Block a user