|
@@ -2,10 +2,12 @@ package com.diagbot.web;
|
|
|
|
|
|
import com.diagbot.dto.IndicationDTO;
|
|
|
import com.diagbot.dto.PushDTO;
|
|
|
+import com.diagbot.dto.PushPlanDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.facade.IndicationFacade;
|
|
|
import com.diagbot.facade.PushFacade;
|
|
|
import com.diagbot.vo.IndicationPushVO;
|
|
|
+import com.diagbot.vo.PushPlanVO;
|
|
|
import com.diagbot.vo.PushVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -40,11 +42,18 @@ public class CoreController {
|
|
|
return RespDTO.onSuc(indicationDTO);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "推送API[zhoutg]", notes = "featureType 类型(多选必填),1:症状,4:查体结果,5:检验,6:检查,7:诊断,8:药品,9:手术,10:一般治疗")
|
|
|
- @PostMapping("/push")
|
|
|
- public RespDTO<PushDTO> push(@RequestBody PushVO pushVo) {
|
|
|
- PushDTO pushDTO = pushFacade.pushFac(pushVo);
|
|
|
- return RespDTO.onSuc(pushDTO);
|
|
|
- }
|
|
|
+ @ApiOperation(value = "推送API[zhoutg]", notes = "featureType 类型(多选必填),1:症状,4:查体结果,5:检验,6:检查,7:诊断,8:药品,9:手术,10:一般治疗")
|
|
|
+ @PostMapping("/push")
|
|
|
+ public RespDTO<PushDTO> push(@RequestBody PushVO pushVo) {
|
|
|
+ PushDTO pushDTO = pushFacade.pushFac(pushVo);
|
|
|
+ return RespDTO.onSuc(pushDTO);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "推送持续检验检查计划API[zhoutg]", notes = "")
|
|
|
+ @PostMapping("/pushPlan")
|
|
|
+ public RespDTO<PushPlanDTO> pushPlan(@RequestBody PushPlanVO pushPlanVO) {
|
|
|
+ PushPlanDTO pushPlanDTO = new PushPlanDTO();
|
|
|
+ return RespDTO.onSuc(pushPlanDTO);
|
|
|
+ }
|
|
|
}
|
|
|
|