diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java index 317b89d..9adbd89 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java @@ -205,11 +205,7 @@ public class TodoCenterManage { */ public void handler(ReqProcessHandlerDTO param) { // 获取登录用户ID - // Long userId = LoginUserUtil.getUserId(); - - // Long userId = 381496L; - // Long userId = 6418616L; - Long userId = 61769799L; + Long userId = LoginUserUtil.getUserId(); // 若进行的是撤回操作(流程发起人和当前流程审核人的前一个审核人操作) if (param.getAction().equals(ProcessHandlerEnum.WITHDRAW)) { @@ -484,7 +480,7 @@ public class TodoCenterManage { workNoticeInfo.setAccountId(accountId); // 根据浙政钉用户ID获取部门code DingEmployeeInfo employeeInfo = dingEmployeeInfoService.getOne(Wrappers.lambdaQuery(DingEmployeeInfo.class) - .eq(DingEmployeeInfo::getId, accountId)); + .eq(DingEmployeeInfo::getAccountId, accountId)); String organizationCode = employeeInfo.getOrganizationCode(); workNoticeInfo.setOrganizationCode(organizationCode); // 根据部门code获取部门名称