|
@@ -249,8 +249,8 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
throw new IllegalOperatorException("表格模板不正确!请重新下载最新模板");
|
|
throw new IllegalOperatorException("表格模板不正确!请重新下载最新模板");
|
|
|
}
|
|
}
|
|
|
int rowNum = SheetUtil.getSheetLastNum(sheet, isPcb ? UploadConstant.MAX_TOTAL_COLUMN_PCB : UploadConstant.MAX_TOTAL_COLUMN);
|
|
int rowNum = SheetUtil.getSheetLastNum(sheet, isPcb ? UploadConstant.MAX_TOTAL_COLUMN_PCB : UploadConstant.MAX_TOTAL_COLUMN);
|
|
|
- if (rowNum > 10002) {
|
|
|
|
|
- throw new IllegalOperatorException("您上传的信息超过10002条,请拆分成10002以下再上传");
|
|
|
|
|
|
|
+ if (rowNum > 2002) {
|
|
|
|
|
+ throw new IllegalOperatorException("您上传的信息超过2000条,请拆分成2000以下再上传");
|
|
|
}
|
|
}
|
|
|
if (rowNum < 2) {
|
|
if (rowNum < 2) {
|
|
|
throw new IllegalOperatorException("请填写上传信息");
|
|
throw new IllegalOperatorException("请填写上传信息");
|