修改bug-虚拟清单导入数组越界问题
This commit is contained in:
+2
@@ -1037,6 +1037,8 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl<DummyInventoryI
|
||||
String key = "";
|
||||
if (row != null && !isBlank) {
|
||||
int columNos = headerRow.getLastCellNum();// 表头总共的列数
|
||||
//预防空格子报错
|
||||
columNos = columNos > 24 ? 24 : columNos;
|
||||
Map<String, String> rowList = new LinkedHashMap<>();
|
||||
for (int j = 0; j < columNos; j++) {
|
||||
Cell cell = row.getCell(j);
|
||||
|
||||
Reference in New Issue
Block a user