| | |
| | | private final static Log log = LogFactory.getLog(DataLibService.class); |
| | | |
| | | /** |
| | | * 查询DB中溢出的单位ID |
| | | * 查询DB中溢出的单位编码 |
| | | */ |
| | | public List<String> selectDbOverflowDep(UserEntity ue, List<String> entities, String wkt) { |
| | | List<String> rs = new ArrayList<>(); |
| | |
| | | |
| | | List<String> ids = baseMapper.selectObjs(wrapper); |
| | | |
| | | addDepIds(rs, ids); |
| | | addDepCodes(rs, ids); |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | |
| | | } |
| | | |
| | | /** |
| | | * 添加单位ID |
| | | * 添加单位编码 |
| | | */ |
| | | private void addDepIds(List<String> rs, List<String> ids) { |
| | | private void addDepCodes(List<String> rs, List<String> ids) { |
| | | if (null == ids || ids.isEmpty()) { |
| | | return; |
| | | } |