根据code查物料;
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ public class StockInExcelListener extends AnalysisEventListener<Map<String, Obje
|
|||||||
StockInProductDetail detail = new StockInProductDetail();
|
StockInProductDetail detail = new StockInProductDetail();
|
||||||
|
|
||||||
// 产品编号(第1列,索引0)- 支持文本型数字转换
|
// 产品编号(第1列,索引0)- 支持文本型数字转换
|
||||||
detail.setProductCode(convertToInteger(getValueSafely(data, 0)));
|
detail.setProductCode(convertToString(getValueSafely(data, 0)).toString());
|
||||||
// 产品名称(第2列,索引1)
|
// 产品名称(第2列,索引1)
|
||||||
detail.setProductName(convertToString(getValueSafely(data, 1)));
|
detail.setProductName(convertToString(getValueSafely(data, 1)));
|
||||||
// 箱含量(第5列,索引4)
|
// 箱含量(第5列,索引4)
|
||||||
|
|||||||
Reference in New Issue
Block a user