| | |
| | | if (StringUtils.isEmpty(param.getDeptId())) { |
| | | param.setDeptId(param.getCustomerId()); |
| | | } |
| | | //test提交 |
| | | //收储公司,所属库区查询均为空,则查询默认库区 |
| | | if (StringUtils.isEmpty(param.getCustomerId()) && StringUtils.isEmpty(param.getDeptId())) { |
| | | param.setDeptId(deptId); |
| | |
| | | |
| | | if(result.isEmpty()){ |
| | | //没有数据时将columsMap中的数据添加到result中作为默认数据 |
| | | result.addAll(columsMap.values()); |
| | | columsMap.values().forEach(data -> { |
| | | String deptId_Item = data.getDeptId(); |
| | | if(StringUtils.isNotBlank(param.getDeptId()) && deptId_Item.startsWith(param.getDeptId())){ |
| | | result.add(data); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | return result; |