GammaFileUtil新增生成报告时错误输出文件名称路径以及错误信息
This commit is contained in:
parent
8045c3fc37
commit
554e50a71d
|
@ -2641,6 +2641,7 @@ public class GammaFileUtil extends AbstractLogOrReport {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String GetReportContent(GStoreMiddleProcessData middleData) {
|
public String GetReportContent(GStoreMiddleProcessData middleData) {
|
||||||
|
try {
|
||||||
StringBuffer strBuffer = new StringBuffer();
|
StringBuffer strBuffer = new StringBuffer();
|
||||||
strBuffer.append(" CNL06 GENERATED REPORT");
|
strBuffer.append(" CNL06 GENERATED REPORT");
|
||||||
//换行
|
//换行
|
||||||
|
@ -2984,6 +2985,10 @@ public class GammaFileUtil extends AbstractLogOrReport {
|
||||||
strBuffer.append(System.lineSeparator());
|
strBuffer.append(System.lineSeparator());
|
||||||
}
|
}
|
||||||
return strBuffer.toString();
|
return strBuffer.toString();
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error("错误文件名称:"+ middleData.analyses_save_filePath+" 错误内容:"+e.getMessage());
|
||||||
|
}
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<String> DoubleLimit(List data) {
|
public List<String> DoubleLimit(List data) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user