Commit 4b3fe376 authored by Smile's avatar Smile
parents 7b8cecf2 394a0a79
...@@ -241,6 +241,7 @@ public class ShipmentLoadExcelExportListener2 { ...@@ -241,6 +241,7 @@ public class ShipmentLoadExcelExportListener2 {
List<OrderWarehouseInDO> orderWarehouseInDOS = orderWarehouseInService.selectList(OrderWarehouseInDO::getOrderItemId, orderItem.getOrderItemId()); List<OrderWarehouseInDO> orderWarehouseInDOS = orderWarehouseInService.selectList(OrderWarehouseInDO::getOrderItemId, orderItem.getOrderItemId());
for (OrderWarehouseInDO orderWarehouseInDO : orderWarehouseInDOS) { for (OrderWarehouseInDO orderWarehouseInDO : orderWarehouseInDOS) {
List<OrderWarehouseInDetailsVO> warehouseInDetailsVOLists = orderWarehouseInDO.getOrderWarehouseInDetailsVOList(); List<OrderWarehouseInDetailsVO> warehouseInDetailsVOLists = orderWarehouseInDO.getOrderWarehouseInDetailsVOList();
if (CollectionUtil.isNotEmpty(warehouseInDetailsVOLists)) {
for (OrderWarehouseInDetailsVO warehouseInDetailsVOList : warehouseInDetailsVOLists) { for (OrderWarehouseInDetailsVO warehouseInDetailsVOList : warehouseInDetailsVOLists) {
String attrNames2 = getAttrNameByIds(warehouseInDetailsVOList.getProdAttrIds(), idNameMap); String attrNames2 = getAttrNameByIds(warehouseInDetailsVOList.getProdAttrIds(), idNameMap);
if (attrNames2.contains("危险品")){ if (attrNames2.contains("危险品")){
...@@ -249,6 +250,7 @@ public class ShipmentLoadExcelExportListener2 { ...@@ -249,6 +250,7 @@ public class ShipmentLoadExcelExportListener2 {
} }
} }
} }
}
for(OrderItemDO item : orderItems) { for(OrderItemDO item : orderItems) {
LoadDto preloadDto = new LoadDto(); LoadDto preloadDto = new LoadDto();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment