| | |
| | | List<InoutRecord> list = new ArrayList<>(); |
| | | //获取分库编码对应的分库名称 |
| | | String deptName = ""; |
| | | SysDept subDept = sysDeptService.getCacheDept(null, ContextUtil.subDeptId(null)); |
| | | String deptId= ContextUtil.subDeptId(null); |
| | | if (StringUtils.isNotBlank(param.getDeptId())){ |
| | | deptId=param.getDeptId(); |
| | | } |
| | | SysDept subDept = sysDeptService.getCacheDept(null,deptId); |
| | | if (null != subDept) { |
| | | deptName = subDept.getDeptName(); |
| | | } |
| | | |
| | | |
| | | String exportTimeDesc = ""; |
| | | String exportCreateUser = ""; |
| | | Date exportCreateTime = new Date(); |
| | |
| | | .stream() |
| | | .collect(Collectors.toMap(Dept::getId, Dept::getKqmc, (key1, key2) -> key2)); |
| | | // 创建仓库ID到名称的映射 |
| | | Map<String, String> depotMap = Optional.ofNullable(depotPR.getData(null)) |
| | | Map<String, String> depotMap = Optional.ofNullable(depotPR.getData(ContextUtil.getCompanyId())) |
| | | .orElse(new ArrayList<>()) |
| | | .stream() |
| | | .collect(Collectors.toMap(Depot::getId, Depot::getName, (key1, key2) -> key2)); |