chore: 代码评审

This commit is contained in:
LesanOuO 2025-08-06 19:29:14 +08:00
parent 93cb8bad06
commit d4357a7471

View File

@ -1204,7 +1204,7 @@ public class BpmTaskServiceImpl implements BpmTaskService {
if (CollUtil.isEmpty(nextUserTaskKeys)) {
throw exception(TASK_WITHDRAW_FAIL_NEXT_TASK_NOT_ALLOW);
}
// TODO @芋艿是否选择升级flowable版本解决taskCreatedAftertaskCreatedBefore问题升级7.1.0可以包括 todo done 那边的查询哇
// TODO @芋艿是否选择升级flowable版本解决taskCreatedAftertaskCreatedBefore问题升级7.1.0可以包括 todo done 那边的查询哇 是的
long nextUserTaskFinishedCount = historyService.createHistoricTaskInstanceQuery()
.processInstanceId(processInstance.getProcessInstanceId()).taskDefinitionKeys(nextUserTaskKeys)
.taskCreatedAfter(taskInstance.getEndTime()).finished().count();