fix: 已发流程报错问题修改

This commit is contained in:
wxyclub
2023-12-18 09:59:22 +08:00
parent 4443dd534a
commit 88344efad2
@@ -2462,9 +2462,9 @@ public class TodoTaskController extends BaseAction {
if (list2.size() > 0) {
for (Task task : list2) {
if (task.getAssignee() != null && !task.getAssignee().equals("")) {
ResponseMessage<UserVO> byId = lawsUserInfoService.getById(task.getAssignee());
if (byId.getData() != null) {
if (assignee.indexOf(byId.getData().getUname()) == -1) {
ResponseMessage<UserVO> byId = lawsUserInfoService.getByIdFeignClientWithDisabled(task.getAssignee());
if (byId.getData().getUname() != null) {
if (!assignee.contains(byId.getData().getUname())) {
assignee += ((byId.getData().getOrgName() != null && !byId.getData().getOrgName().equals("")) ? byId.getData().getOrgName() + "-" + byId.getData().getUname() : byId.getData().getUname()) + ",";
}
}