Commit 32bceb3b by huluobin

update

parent 46d02f20
...@@ -119,7 +119,7 @@ public abstract class AbstractCostService implements CostService { ...@@ -119,7 +119,7 @@ public abstract class AbstractCostService implements CostService {
.collect(Collectors.toMap(OaUser::getOaUserId, oaUser -> oaUser)); .collect(Collectors.toMap(OaUser::getOaUserId, oaUser -> oaUser));
costDomains.forEach(costDomain -> { costDomains.forEach(costDomain -> {
costDomain.setPrimaryDepartmentId(oaUserMap.get(costDomain.getCreateUserid()).getPrimaryDepartmentId()) costDomain.setPrimaryDepartmentId(oaUserMap.get(costDomain.getCreateUserid()).getPrimaryDepartmentId());
costDomain.setPrimaryDepartmentName(oaUserMap.get(costDomain.getCreateUserid()).getPrimaryDepartment().getName()); costDomain.setPrimaryDepartmentName(oaUserMap.get(costDomain.getCreateUserid()).getPrimaryDepartment().getName());
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment