上传行数限制修改

This commit is contained in:
2022-09-20 10:38:46 +08:00
parent 38cfe0972b
commit a7f87cf174
@@ -177,8 +177,8 @@ public class BaseAvgImportServlet extends HttpServlet {
String realName) {
int totalNum = sheet.getLastRowNum();
System.out.println("上传文件共:" + totalNum + "个");
if (totalNum > 1000) {
totalNum = 1000;
if (totalNum > 5000) {
totalNum = 5000;
}
Integer totalLine = 0;// 总行数