| | |
| | | if (null == data.getIntelCard()) { |
| | | data.setIntelCard(data.getUserId()); |
| | | } |
| | | if (null == data.getRegisterTime()) { |
| | | data.setRegisterTime(new Date()); |
| | | } |
| | | msg = inoutService.insertData(data); |
| | | |
| | | //执行附件信息 |
| | |
| | | |
| | | //获取仓库信息 |
| | | List<Depot> depotList = coreCommonService.getCacheDepotList(param.getCompanyId(), param.getDeptId()); |
| | | Map<String,String> map = new HashMap<>(); |
| | | if(depotList != null && depotList.size() > 0){ |
| | | Map<String, String> map = new HashMap<>(); |
| | | if (depotList != null && depotList.size() > 0) { |
| | | for (Depot depot : depotList) { |
| | | map.put(depot.getId(), depot.getName()); |
| | | } |
| | |
| | | |
| | | //赋值仓库名称 |
| | | for (InoutNoticeOut inoutNoticeOut : list) { |
| | | if(map.get(inoutNoticeOut.getDepotId()) != null){ |
| | | if (map.get(inoutNoticeOut.getDepotId()) != null) { |
| | | inoutNoticeOut.setDepotName(map.get(inoutNoticeOut.getDepotId())); |
| | | } |
| | | } |