Commit 4fa32e12 authored by huyf's avatar huyf

海运已装单bug

parent 66cef53e
...@@ -209,8 +209,8 @@ public class ShipmentLoadExcelExportListener2 { ...@@ -209,8 +209,8 @@ public class ShipmentLoadExcelExportListener2 {
headList.add(list1); headList.add(list1);
headList.add(list1);headList.add(list1);headList.add(list1); headList.add(list1);headList.add(list1);headList.add(list1);
//headList.add(list1);headList.add(list1); // headList.add(list1);headList.add(list1);headList.add(list1);
//headList.add(list1);headList.add(list1); headList.add(list1);headList.add(list1);
List<LoadDto> list = new ArrayList<>(); List<LoadDto> list = new ArrayList<>();
...@@ -295,7 +295,8 @@ public class ShipmentLoadExcelExportListener2 { ...@@ -295,7 +295,8 @@ public class ShipmentLoadExcelExportListener2 {
preloadDto.setPackageType(packagingType); preloadDto.setPackageType(packagingType);
} }
preloadDto.setSumVolume(item.getWarehouseInInfoVO().getVolume()); preloadDto.setSumVolume(item.getWarehouseInInfoVO().getVolume());
preloadDto.setProdAttr(getAttrNameByIds(item.getProdAttrIds(),idNameMap));
preloadDto.setUsageIds(getUsageMsg(item.getUsageIds()));
preloadDto.setSumWeight(item.getWarehouseInInfoVO().getWeight()); preloadDto.setSumWeight(item.getWarehouseInInfoVO().getWeight());
if(orderInfo.getCustomsType()!=null){ if(orderInfo.getCustomsType()!=null){
preloadDto.setCustomsType(DictFrameworkUtils.getDictDataFromCache("customs_type",orderInfo.getCustomsType()+"").getLabel()); preloadDto.setCustomsType(DictFrameworkUtils.getDictDataFromCache("customs_type",orderInfo.getCustomsType()+"").getLabel());
...@@ -379,6 +380,8 @@ public class ShipmentLoadExcelExportListener2 { ...@@ -379,6 +380,8 @@ public class ShipmentLoadExcelExportListener2 {
.registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,10,2)) .registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,10,2))
.registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,11,2)) .registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,11,2))
.registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,12,1)) .registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,12,1))
.registerWriteHandler(new CustomCellWriteHandler(colorRowList,13, colorMap))
.registerWriteHandler(new CustomCellWriteHandler(colorRowList,14, colorMap))
.registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,17,1)) .registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,17,1))
.registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,18,2)) .registerWriteHandler(new CustomLoadMergeStrategyNew(list,mergeCountList,18,2))
.automaticMergeHead(true).head(headList).needHead(true).build(); .automaticMergeHead(true).head(headList).needHead(true).build();
......
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