|
|
@@ -468,7 +468,9 @@ public class TodoCenterManage { |
|
|
|
workNoticeInfo.setAccountId(accountId); |
|
|
|
// 根据浙政钉用户ID获取部门code |
|
|
|
DingEmployeeInfo employeeInfo = dingEmployeeInfoService.getOne(Wrappers.lambdaQuery(DingEmployeeInfo.class) |
|
|
|
.eq(DingEmployeeInfo::getAccountId, accountId).last("limit 1")); |
|
|
|
.eq(DingEmployeeInfo::getAccountId, accountId) |
|
|
|
.eq(DingEmployeeInfo::getMainJob,String.valueOf(Boolean.TRUE)) |
|
|
|
.last("limit 1")); |
|
|
|
String organizationCode = employeeInfo.getOrganizationCode(); |
|
|
|
workNoticeInfo.setOrganizationCode(organizationCode); |
|
|
|
// 根据部门code获取部门名称 |
|
|
|