上传行数限制修改
This commit is contained in:
+2
-2
@@ -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;// 总行数
|
||||
|
||||
Reference in New Issue
Block a user