|
|
@@ -653,11 +653,11 @@ public class BpmTaskServiceImpl implements BpmTaskService {
|
|
|
LogRecordContext.putVariable("nickname", SecurityFrameworkUtils.getLoginUserNickname());
|
|
|
LogRecordContext.putVariable("instanceName", instance.getName());
|
|
|
Set<Long> copyUserIdList = getCopyUserIdList(task.getTaskDefinitionKey());
|
|
|
- copyUserIdList.addAll(reqVO.getCopyUserIds());
|
|
|
if (CollUtil.isNotEmpty(reqVO.getCopyUserIds())) {
|
|
|
+ copyUserIdList.addAll(reqVO.getCopyUserIds());
|
|
|
//processInstanceCopyService.createProcessInstanceCopy(reqVO.getCopyUserIds(), reqVO.getId());
|
|
|
- processInstanceCopyService.createProcessInstanceCopy(copyUserIdList, task);
|
|
|
}
|
|
|
+ processInstanceCopyService.createProcessInstanceCopy(copyUserIdList, task);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -682,8 +682,8 @@ public class BpmTaskServiceImpl implements BpmTaskService {
|
|
|
return;
|
|
|
}
|
|
|
if ("second_approve".equals(key)) {
|
|
|
- reqVO.setAuditName(parseString(variables, "firstAuditName"));
|
|
|
- if (StrUtil.isNotBlank(reqVO.getAuditName())) {
|
|
|
+ reqVO.setFirstAuditName(parseString(variables, "firstAuditName"));
|
|
|
+ if (StrUtil.isNotBlank(reqVO.getFirstAuditName())) {
|
|
|
checkInWaitApi.updateSecondReviewInfo(reqVO);
|
|
|
}
|
|
|
checkInWaitApi.updateCheckInWaitStatusByBusinessId(businessForm.getBusinessId(),
|