fix: 解决冲突

This commit is contained in:
youkehai
2023-09-25 09:22:11 +08:00
parent d6e736bd56
commit 1553900193
2 changed files with 6 additions and 0 deletions

View File

@ -492,6 +492,9 @@ public class BpmTaskServiceImpl implements BpmTaskService {
// 添加审批意见
AdminUserRespDTO currentUser = adminUserApi.getUser(WebFrameworkUtils.getLoginUserId());
AdminUserRespDTO receiveUser = adminUserApi.getUser(reqVO.getReceiveId());
if (receiveUser == null) {
throw exception(TASK_DELEGATE_RECEIVE_USER_NULL);
}
String comment = String.format("[%s]将任务委派给[%s],委派理由为:%s", currentUser.getNickname(),
receiveUser.getNickname(), reqVO.getReason());
String taskId = reqVO.getId();