fix:移除FtpUtil引用
This commit is contained in:
parent
b3f5f0d276
commit
23ccf6bfac
|
@ -1,5 +1,6 @@
|
||||||
package org.jeecg.modules.file;
|
package org.jeecg.modules.file;
|
||||||
|
|
||||||
|
import cn.hutool.core.collection.CollUtil;
|
||||||
import cn.hutool.core.io.FileUtil;
|
import cn.hutool.core.io.FileUtil;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
@ -86,6 +87,17 @@ public class FileOperation {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 保存文件
|
||||||
|
* @param filePath
|
||||||
|
* @param content
|
||||||
|
* @throws IOException
|
||||||
|
*/
|
||||||
|
public static void saveFile(String filePath, List<String> content) throws IOException {
|
||||||
|
if (CollUtil.isEmpty(content)) return;
|
||||||
|
FileUtil.writeUtf8Lines(content, filePath);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改文件名称
|
* 修改文件名称
|
||||||
* @param file
|
* @param file
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -79,9 +79,9 @@ public class SamplephdSpectrum extends AbstractS_D_Q_G_SpectrumHandler {
|
||||||
Sample_B_Analysis bAnalysis = new Sample_B_Analysis(this);
|
Sample_B_Analysis bAnalysis = new Sample_B_Analysis(this);
|
||||||
bAnalysis.analysis();
|
bAnalysis.analysis();
|
||||||
}
|
}
|
||||||
// if (this.sourceData.system_type.equals(SystemType.PARTICULATE.getType()) || this.sourceData.system_type.equals(SystemType.GAMMA.getType())) {
|
if (this.sourceData.system_type.equals(SystemType.PARTICULATE.getType()) || this.sourceData.system_type.equals(SystemType.GAMMA.getType())) {
|
||||||
// Sample_G_Analysis sample_g_analysis = new Sample_G_Analysis(super.sourceData, super.spectrumServiceQuotes, super.sampleData);
|
Sample_G_Analysis sample_g_analysis = new Sample_G_Analysis(super.sourceData, super.spectrumServiceQuotes, super.sampleData);
|
||||||
// sample_g_analysis.analysis();
|
sample_g_analysis.analysis();
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user