Commit d4357a747174f3c78603280ab5b7dd4ef9d52cae
1 parent
93cb8bad
chore: 代码评审
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/task/BpmTaskServiceImpl.java
| @@ -1204,7 +1204,7 @@ public class BpmTaskServiceImpl implements BpmTaskService { | @@ -1204,7 +1204,7 @@ public class BpmTaskServiceImpl implements BpmTaskService { | ||
| 1204 | if (CollUtil.isEmpty(nextUserTaskKeys)) { | 1204 | if (CollUtil.isEmpty(nextUserTaskKeys)) { |
| 1205 | throw exception(TASK_WITHDRAW_FAIL_NEXT_TASK_NOT_ALLOW); | 1205 | throw exception(TASK_WITHDRAW_FAIL_NEXT_TASK_NOT_ALLOW); |
| 1206 | } | 1206 | } |
| 1207 | - // TODO @芋艿:是否选择升级flowable版本解决taskCreatedAfter、taskCreatedBefore问题,升级7.1.0可以;包括 todo 和 done 那边的查询哇??? | 1207 | + // TODO @芋艿:是否选择升级flowable版本解决taskCreatedAfter、taskCreatedBefore问题,升级7.1.0可以;包括 todo 和 done 那边的查询哇??? 是的! |
| 1208 | long nextUserTaskFinishedCount = historyService.createHistoricTaskInstanceQuery() | 1208 | long nextUserTaskFinishedCount = historyService.createHistoricTaskInstanceQuery() |
| 1209 | .processInstanceId(processInstance.getProcessInstanceId()).taskDefinitionKeys(nextUserTaskKeys) | 1209 | .processInstanceId(processInstance.getProcessInstanceId()).taskDefinitionKeys(nextUserTaskKeys) |
| 1210 | .taskCreatedAfter(taskInstance.getEndTime()).finished().count(); | 1210 | .taskCreatedAfter(taskInstance.getEndTime()).finished().count(); |