|
@@ -20,7 +20,7 @@ import com.fjhx.oa.mapper.user.UserSalaryManageMapper;
|
|
import com.fjhx.oa.service.user.UserSalaryDetailService;
|
|
import com.fjhx.oa.service.user.UserSalaryDetailService;
|
|
import com.fjhx.oa.service.user.UserSalaryManageService;
|
|
import com.fjhx.oa.service.user.UserSalaryManageService;
|
|
import com.fjhx.oa.service.user.UserSalaryService;
|
|
import com.fjhx.oa.service.user.UserSalaryService;
|
|
-import com.fjhx.tenant.utils.DeptUstil;
|
|
|
|
|
|
+import com.fjhx.tenant.utils.DeptUtils;
|
|
import com.ruoyi.common.exception.ServiceException;
|
|
import com.ruoyi.common.exception.ServiceException;
|
|
import com.ruoyi.common.utils.wrapper.IWrapper;
|
|
import com.ruoyi.common.utils.wrapper.IWrapper;
|
|
import com.ruoyi.system.utils.UserUtil;
|
|
import com.ruoyi.system.utils.UserUtil;
|
|
@@ -184,7 +184,7 @@ public class UserSalaryManageServiceImpl extends ServiceImpl<UserSalaryManageMap
|
|
);
|
|
);
|
|
|
|
|
|
Map<Long, List<FileInfoVo>> fileMap = ObsFileUtil.getFileMap(userIds, 10);
|
|
Map<Long, List<FileInfoVo>> fileMap = ObsFileUtil.getFileMap(userIds, 10);
|
|
- Map<Long, String> deptNameMap = DeptUstil.getDeptNameMap();
|
|
|
|
|
|
+ Map<Long, String> deptNameMap = DeptUtils.getDeptNameMap();
|
|
for (UserSalaryManageVo userSalaryManageVo : list) {
|
|
for (UserSalaryManageVo userSalaryManageVo : list) {
|
|
userSalaryManageVo.setUserSalaryDetailList(usdMap.getOrDefault(userSalaryManageVo.getUserId(), new ArrayList<>()));
|
|
userSalaryManageVo.setUserSalaryDetailList(usdMap.getOrDefault(userSalaryManageVo.getUserId(), new ArrayList<>()));
|
|
userSalaryManageVo.setFileList(fileMap.getOrDefault(userSalaryManageVo.getUserId(), new ArrayList<>()));
|
|
userSalaryManageVo.setFileList(fileMap.getOrDefault(userSalaryManageVo.getUserId(), new ArrayList<>()));
|
|
@@ -193,7 +193,7 @@ public class UserSalaryManageServiceImpl extends ServiceImpl<UserSalaryManageMap
|
|
}
|
|
}
|
|
|
|
|
|
//赋值部门名称树
|
|
//赋值部门名称树
|
|
- DeptUstil.assignmentDeptNames(list, UserSalaryManageVo::getDeptId, (item, nameList) -> {
|
|
|
|
|
|
+ DeptUtils.assignmentDeptNames(list, UserSalaryManageVo::getDeptId, (item, nameList) -> {
|
|
item.setDeptNames(nameList.stream().collect(Collectors.joining("=>")));
|
|
item.setDeptNames(nameList.stream().collect(Collectors.joining("=>")));
|
|
});
|
|
});
|
|
|
|
|