fix: 流程历史显示错误问题修改

This commit is contained in:
wxyclub
2024-05-09 11:24:57 +08:00
parent adfb662fcf
commit 68d164938c
@@ -916,6 +916,7 @@ public class TodoTaskController extends BaseAction {
LambdaUpdateWrapper<BusProcessHistory> bphUpdateWrapper = new LambdaUpdateWrapper<>();
bphUpdateWrapper.in(BusProcessHistory::getTaskId,taskIdList);
bphUpdateWrapper.eq(BusProcessHistory::getTaskStatus, TaskStatusEnum.TODO.getValue());
bphUpdateWrapper.set(BusProcessHistory::getTaskStatus, TaskStatusEnum.RECEIVED.getValue());
this.busProcessHistoryService.update(bphUpdateWrapper);
return processNew;