| | |
| | | Object produceId = row.get("produceId"); |
| | | Object tabId = row.get("tabId"); |
| | | Object layer = row.get("layer"); |
| | | if (tabId!=null){ |
| | | bomDataMapper.saveProductBOMMp(produceId,tabId,layer); |
| | | } |
| | | |
| | | bomDataMapper.saveProductBOMMp(produceId,tabId,layer); |
| | | } |
| | | } |
| | | } |
| | |
| | | if (!orderDetailsList.isEmpty()) { |
| | | for (OrderDetail od : orderDetailsList) { |
| | | Map<String, Object> itemmap = new HashMap<>(); |
| | | itemmap.put("data", bomDataMapper.getBOMDetails(od.getProductId())); |
| | | itemmap.put("data", bomDataMapper.getBOMDetails(od.getProductId(),od.getOrderId())); |
| | | list.add(itemmap); |
| | | |
| | | } |