|
@@ -8,6 +8,7 @@ import com.diagbot.dto.GetModuleInfoOneDTO;
|
|
import com.diagbot.dto.GetQuestionInfoDTO;
|
|
import com.diagbot.dto.GetQuestionInfoDTO;
|
|
import com.diagbot.dto.ModuleInfoDTO;
|
|
import com.diagbot.dto.ModuleInfoDTO;
|
|
import com.diagbot.dto.ModuleInfoListDTO;
|
|
import com.diagbot.dto.ModuleInfoListDTO;
|
|
|
|
+import com.diagbot.dto.GetModuleTypeDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.facade.ModuleInfoFacade;
|
|
import com.diagbot.facade.ModuleInfoFacade;
|
|
import com.diagbot.vo.AddModuleInfoVO;
|
|
import com.diagbot.vo.AddModuleInfoVO;
|
|
@@ -15,6 +16,7 @@ import com.diagbot.vo.DeleteModuleVO;
|
|
import com.diagbot.vo.GetModuleDetailInfoVO;
|
|
import com.diagbot.vo.GetModuleDetailInfoVO;
|
|
import com.diagbot.vo.GetModuleInfoOneVO;
|
|
import com.diagbot.vo.GetModuleInfoOneVO;
|
|
import com.diagbot.vo.GetModuleInfoVO;
|
|
import com.diagbot.vo.GetModuleInfoVO;
|
|
|
|
+import com.diagbot.vo.GetModuleTypeVO;
|
|
import com.diagbot.vo.ModuleGetQuestionInfoVO;
|
|
import com.diagbot.vo.ModuleGetQuestionInfoVO;
|
|
import com.diagbot.vo.UpdateModuleInfoVO;
|
|
import com.diagbot.vo.UpdateModuleInfoVO;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
@@ -103,8 +105,8 @@ public class ModuleInfoController {
|
|
return RespDTO.onSuc(date);
|
|
return RespDTO.onSuc(date);
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "【二期】获取模板信息(作为子模板使用时传入type)[by:wangyu]",
|
|
|
|
- notes = "type: 模板类型,1:主诉模板 2:现病史模板 3:现病史空模板 4 : 其他史模板 5:嵌套模板 6:慢病模板<br>" +
|
|
|
|
|
|
+ @ApiOperation(value = "【二期】获取模板信息(作为子模板使用时传入moduleType)[by:wangyu]",
|
|
|
|
+ notes = "moduleType: 模板类型,0.通用 1.根据科室划分 2.慢病 3.子模板<br>" +
|
|
"<br>")
|
|
"<br>")
|
|
@PostMapping("/getModuleInfo")
|
|
@PostMapping("/getModuleInfo")
|
|
@SysLogger("getModuleInfo")
|
|
@SysLogger("getModuleInfo")
|
|
@@ -143,4 +145,14 @@ public class ModuleInfoController {
|
|
return RespDTO.onSuc(date);
|
|
return RespDTO.onSuc(date);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "【二期】获取模板Type[主诉到诊断][by:wangyu]",
|
|
|
|
+ notes = "moduleType: 模板mouduleType,必填<br>" +
|
|
|
|
+ "")
|
|
|
|
+ @PostMapping("/getModuleType")
|
|
|
|
+ @SysLogger("getModuleType")
|
|
|
|
+ public RespDTO<List<GetModuleTypeDTO>> getModuleType(@Valid @RequestBody GetModuleTypeVO getModuleTypeVO) {
|
|
|
|
+ List<GetModuleTypeDTO> date = moduleInfoFacade.getModuleType(getModuleTypeVO);
|
|
|
|
+ return RespDTO.onSuc(date);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|