web模块调用dll依赖库方式修改
This commit is contained in:
parent
674734bfc5
commit
463ab4a058
|
@ -147,8 +147,6 @@ public class GardsSampleDataWebServiceImpl extends ServiceImpl<GardsSampleDataWe
|
||||||
if (StringUtils.isNotBlank(filePath)) {
|
if (StringUtils.isNotBlank(filePath)) {
|
||||||
file = ftpUtil.downloadFile(ftpUtil.getFtpRootPath() + spectrumPathProperties.getSaveFilePath() + StringPool.SLASH + filePath, "betaGamma");
|
file = ftpUtil.downloadFile(ftpUtil.getFtpRootPath() + spectrumPathProperties.getSaveFilePath() + StringPool.SLASH + filePath, "betaGamma");
|
||||||
if (Objects.nonNull(file)) {
|
if (Objects.nonNull(file)) {
|
||||||
// System.load("/usr/local/jdk/lib/libReadPHDFile.so");
|
|
||||||
System.loadLibrary("ReadPHDFile");
|
|
||||||
EnergySpectrumStruct sourceData = EnergySpectrumHandler.getSourceData(file.getAbsolutePath());
|
EnergySpectrumStruct sourceData = EnergySpectrumHandler.getSourceData(file.getAbsolutePath());
|
||||||
//查询info
|
//查询info
|
||||||
this.findInfo(sampleId, report);
|
this.findInfo(sampleId, report);
|
||||||
|
|
|
@ -41,6 +41,8 @@ public class JeecgWebStatisticsApplication extends SpringBootServletInitializer
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run(String... args) throws Exception {
|
public void run(String... args) throws Exception {
|
||||||
|
//windows环境调用dll
|
||||||
|
System.loadLibrary("ReadPHDFile");
|
||||||
|
//System.load("/usr/local/jdk/lib/libReadPHDFile.so");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user