|
@@ -1,7 +1,9 @@
|
|
|
package com.diagbot.web;
|
|
|
|
|
|
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
import com.diagbot.annotation.SysLogger;
|
|
|
+import com.diagbot.client.bean.CalculateData;
|
|
|
import com.diagbot.client.bean.GdbResponse;
|
|
|
import com.diagbot.client.bean.ResponseData;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
@@ -59,4 +61,12 @@ public class ClinicalController {
|
|
|
GdbResponse data = clinicalFacade.highRiskPageData(searchVo);
|
|
|
return RespDTO.onSuc(data);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "计算接口", notes = "")
|
|
|
+ @PostMapping("/scaleCalc")
|
|
|
+ @SysLogger("scaleCalc")
|
|
|
+ public RespDTO<Map<String, Object>> scaleCalc(@RequestBody CalculateData calculateData) {
|
|
|
+ Map<String, Object> data = clinicalFacade.scaleCalc(calculateData);
|
|
|
+ return RespDTO.onSuc(data);
|
|
|
+ }
|
|
|
}
|