|
@@ -1,9 +1,9 @@
|
|
|
package com.diagbot.web;
|
|
|
|
|
|
-
|
|
|
import java.util.List;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
@@ -37,11 +37,11 @@ import io.swagger.annotations.ApiOperation;
|
|
|
@Api(value = "指标数据API[by:wangfeng]", tags = { "WF-2期-指标数据API" })
|
|
|
@SuppressWarnings("unchecked")
|
|
|
public class IndexDataController {
|
|
|
-
|
|
|
+
|
|
|
@Autowired
|
|
|
IndexDataFacade indexDataFacade;
|
|
|
-
|
|
|
- @ApiOperation(value = "根据疾病Id获取指标配置[by:wangfeng]", notes = "根据疾病Id获取指标配置")
|
|
|
+
|
|
|
+ @ApiOperation(value = "根据疾病Id获取指标配置[by:wangfeng]", notes = "diseaseId:疾病Id 必填<br> patientId:患者id ,必填<br> startTime:开始时间 ,必填<br> endTime:结束时间 ,必填<br> ")
|
|
|
@PostMapping("/getIndexDatas")
|
|
|
@SysLogger("getIndexDatas")
|
|
|
@Transactional
|
|
@@ -51,8 +51,8 @@ public class IndexDataController {
|
|
|
|
|
|
return RespDTO.onSuc(data);
|
|
|
}
|
|
|
-
|
|
|
- @ApiOperation(value = "保存指标数据[by:wangfeng]", notes = "根据疾病Id获取指标配置")
|
|
|
+
|
|
|
+ @ApiOperation(value = "保存指标数据[by:wangfeng]", notes = "patientId : 患者id 必填<br> inquiryCode :就诊号 必填<br> doctorId:医生id必填<br> IndexData:{指标公表名 :indexUnique;指标值indexValue;指标单位 indexUnit;是否异常 isAbnormal;化验时间creatTime;}")
|
|
|
@PostMapping("/saveIndexDatas")
|
|
|
@SysLogger("saveIndexDatas")
|
|
|
@Transactional
|
|
@@ -62,5 +62,5 @@ public class IndexDataController {
|
|
|
|
|
|
return RespDTO.onSuc(res);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|