Commit 4b3fe376 authored by Smile's avatar Smile
parents 7b8cecf2 394a0a79
...@@ -241,10 +241,12 @@ public class ShipmentLoadExcelExportListener2 { ...@@ -241,10 +241,12 @@ 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();
for (OrderWarehouseInDetailsVO warehouseInDetailsVOList : warehouseInDetailsVOLists) { if (CollectionUtil.isNotEmpty(warehouseInDetailsVOLists)) {
String attrNames2 = getAttrNameByIds(warehouseInDetailsVOList.getProdAttrIds(), idNameMap); for (OrderWarehouseInDetailsVO warehouseInDetailsVOList : warehouseInDetailsVOLists) {
if (attrNames2.contains("危险品")){ String attrNames2 = getAttrNameByIds(warehouseInDetailsVOList.getProdAttrIds(), idNameMap);
prodAttrTag = true; if (attrNames2.contains("危险品")){
prodAttrTag = true;
}
} }
} }
} }
......
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