diff --git a/mes-module-heli/mes-module-heli-biz/src/main/java/com/chanko/yunxi/mes/module/heli/controller/admin/wmsstorage/WmsStorageController.java b/mes-module-heli/mes-module-heli-biz/src/main/java/com/chanko/yunxi/mes/module/heli/controller/admin/wmsstorage/WmsStorageController.java index ef7e4bbb..8453538a 100644 --- a/mes-module-heli/mes-module-heli-biz/src/main/java/com/chanko/yunxi/mes/module/heli/controller/admin/wmsstorage/WmsStorageController.java +++ b/mes-module-heli/mes-module-heli-biz/src/main/java/com/chanko/yunxi/mes/module/heli/controller/admin/wmsstorage/WmsStorageController.java @@ -194,7 +194,7 @@ public class WmsStorageController { if (wmsStorage.getDetailList() != null) { for (WmsStorageDetailDO detail : wmsStorage.getDetailList()) { Row row = sheet1.createRow(rowIndex++); - setCellValue(row.createCell(0), detail.getStockNo()); + setCellValue(row.createCell(0), wmsStorage.getStockNo()); setCellValue(row.createCell(1), detail.getMatCode()); setCellValue(row.createCell(2), detail.getRgName()); setCellValue(row.createCell(3), detail.getStockNum());