|
@@ -89,7 +89,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
|
|
|
|
|
|
public Map<String, Object> analyze(AnalyzeVO analyzeVO) {
|
|
|
-
|
|
|
+ Map<String, Object> res = new HashMap<>(); // 返回结果
|
|
|
Long hospitalId = Long.parseLong(SysUserUtils.getCurrentHospitalID());
|
|
|
// Long hospitalId = 1L; // 写死
|
|
|
analyzeVO.setHospitalId(hospitalId);
|
|
@@ -195,8 +195,10 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
algorithmVO.setQcResultAlgVOList(qcResultAlgVOList);
|
|
|
AlgorithmDTO algorithmDTO = algorithmFacade.getAlgorithmRes(algorithmVO);
|
|
|
//保存
|
|
|
- qcresultInfoFacade.saveQcResult(algorithmDTO, algorithmVO, analyzeVO, outputInfo.getPageData().toString());
|
|
|
- return null;
|
|
|
+ String pageData = JSON.toJSONString(outputInfo.getPageData());
|
|
|
+ qcresultInfoFacade.saveQcResult(algorithmDTO, algorithmVO, analyzeVO, pageData);
|
|
|
+ res.put("pageData", pageData);
|
|
|
+ return res;
|
|
|
}
|
|
|
|
|
|
|