根据code查物料;

This commit is contained in:
王奎兴
2026-06-01 17:17:17 +08:00
parent b6fd5fb08d
commit 488289f4d0
@@ -99,7 +99,7 @@ public class StockInExcelListener extends AnalysisEventListener<Map<String, Obje
StockInProductDetail detail = new StockInProductDetail();
// 产品编号(第1列,索引0)- 支持文本型数字转换
detail.setProductCode(convertToInteger(getValueSafely(data, 0)));
detail.setProductCode(convertToString(getValueSafely(data, 0)).toString());
// 产品名称(第2列,索引1
detail.setProductName(convertToString(getValueSafely(data, 1)));
// 箱含量(第5列,索引4