报告逻辑
This commit is contained in:
parent
8b1a9a0235
commit
67cf21fa3b
@ -160,7 +160,7 @@ public class SastBinaryWorker extends BaseWorker {
|
||||
sastReportCreateReq.setFormat(SastConstant.REPORT_FORMAT_PDF);
|
||||
sastReportCreateReq.setApplicationIds(Collections.singletonList(applicationId));
|
||||
log.info("获取报告请求参数{}",JSON.toJSONString(sastReportCreateReq));
|
||||
return sastService.reportIndex(sastReportCreateReq);
|
||||
return sastService.reportDownload(sastService.reportIndex(sastReportCreateReq));
|
||||
}
|
||||
private JSONObject getJSONString(String reportId){
|
||||
return sastService.jsonReportDownload(reportId);
|
||||
|
@ -166,7 +166,7 @@ public class SastWorker extends BaseWorker {
|
||||
sastReportCreateReq.setFormat(SastConstant.REPORT_FORMAT_PDF);
|
||||
sastReportCreateReq.setApplicationIds(Collections.singletonList(applicationId));
|
||||
log.info("获取报告请求参数{}",JSON.toJSONString(sastReportCreateReq));
|
||||
return sastService.reportIndex(sastReportCreateReq);
|
||||
return sastService.reportDownload(sastService.reportIndex(sastReportCreateReq));
|
||||
}
|
||||
private JSONObject getJSONString(String reportId){
|
||||
return sastService.jsonReportDownload(reportId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user