导入提示报错
This commit is contained in:
+2
-2
@@ -1671,7 +1671,7 @@ public class BmsProductServiceImpl implements IBmsProductService
|
||||
int[] header = findHeaderCell(sheet, "\u5bf9\u63a5\u4ee3\u7801");
|
||||
if (header == null)
|
||||
{
|
||||
return list;
|
||||
throw new ServiceException(MessageUtils.message("price.product.import.catalogHeaderMissing"));
|
||||
}
|
||||
int headerRowIdx = header[0];
|
||||
int colCode = header[1];
|
||||
@@ -2455,7 +2455,7 @@ public class BmsProductServiceImpl implements IBmsProductService
|
||||
}
|
||||
if (header == null)
|
||||
{
|
||||
return list;
|
||||
throw new ServiceException(MessageUtils.message("price.product.import.countryCatalogHeaderMissing"));
|
||||
}
|
||||
Row head = sheet.getRow(header[0]);
|
||||
int colCode = firstCol(head, "\u4ea7\u54c1ID", "\u4ea7\u54c1\u5bf9\u63a5\u4ee3\u7801", "\u4ea7\u54c1\u4ee3\u7801");
|
||||
|
||||
+2
-2
@@ -1502,7 +1502,7 @@ public class BmsRedlineProductServiceImpl implements IBmsRedlineProductService
|
||||
int[] header = findHeaderCell(sheet, "\u5bf9\u63a5\u4ee3\u7801");
|
||||
if (header == null)
|
||||
{
|
||||
return list;
|
||||
throw new ServiceException(MessageUtils.message("price.product.import.catalogHeaderMissing"));
|
||||
}
|
||||
int headerRowIdx = header[0];
|
||||
int colCode = header[1];
|
||||
@@ -2265,7 +2265,7 @@ public class BmsRedlineProductServiceImpl implements IBmsRedlineProductService
|
||||
}
|
||||
if (header == null)
|
||||
{
|
||||
return list;
|
||||
throw new ServiceException(MessageUtils.message("price.product.import.countryCatalogHeaderMissing"));
|
||||
}
|
||||
Row head = sheet.getRow(header[0]);
|
||||
int colCode = firstCol(head, "\u4ea7\u54c1ID", "\u4ea7\u54c1\u5bf9\u63a5\u4ee3\u7801", "\u4ea7\u54c1\u4ee3\u7801");
|
||||
|
||||
Reference in New Issue
Block a user