Commit b05e5604 authored by 李灿灿's avatar 李灿灿

Merge branch 'feature/insurance-1.3.0' into feature-licancan

parents ca715ec5 ca2b6699
...@@ -6595,19 +6595,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -6595,19 +6595,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
YifuUser user = SecurityUtils.getUser(); YifuUser user = SecurityUtils.getUser();
//根据当前登录人获取其拥有的项目列表权限 //根据当前登录人获取其拥有的项目列表权限
List<String> deptNoList = getDeptNoList(user); List<String> deptNoList = getDeptNoList(user);
List<Dept> deptList = new ArrayList<>(16); return R.ok(deptNoList,"查询项目列表成功");
R<SetInfoVo> setInfoByCodes = archivesDaprUtil.getSetInfoByCodes(deptNoList);
if (null != setInfoByCodes && setInfoByCodes.getCode() == CommonConstants.SUCCESS && Common.isNotNull(setInfoByCodes.getData())) {
SetInfoVo data = setInfoByCodes.getData();
Map<String, ProjectSetInfoVo> projectSetInfoVoMap = data.getProjectSetInfoVoMap();
for (String deptNo : deptNoList) {
ProjectSetInfoVo projectSetInfoVo = projectSetInfoVoMap.get(deptNo);
if(!Common.isEmpty(projectSetInfoVo)){
deptList.add(new Dept(projectSetInfoVo.getDepartNo(),projectSetInfoVo.getDepartName()));
}
}
}
return R.ok(deptList,"查询项目列表成功");
} }
/** /**
......
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