管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-10-12 9b4ea2631cc800c376116ed97aca11c8fac956d8
src/main/java/com/lf/server/helper/PathHelper.java
@@ -1,6 +1,7 @@
package com.lf.server.helper;
import com.lf.server.config.PropertiesConfig;
import com.lf.server.entity.all.SettingData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -14,8 +15,6 @@
public class PathHelper {
    @Autowired
    private PropertiesConfig config;
    private static int MAX_FILES = 2000;
    private static int importPath = 1;
@@ -66,7 +65,7 @@
            }
            File[] files = file.listFiles();
            if (files.length < MAX_FILES) {
            if (files.length < SettingData.MAX_FILES) {
                return subPath;
            }