|
@@ -0,0 +1,41 @@
|
|
|
+package com.diagbot.web;
|
|
|
+
|
|
|
+
|
|
|
+import com.diagbot.dto.DisScaleDTO;
|
|
|
+import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.facade.DisScaleFacade;
|
|
|
+import com.diagbot.vo.DisScaleVO;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 诊断量表映射表 前端控制器
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author zhoutg
|
|
|
+ * @since 2019-03-11
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/disScale")
|
|
|
+@Api(value = "诊断量表API", tags = { "诊断量表API" })
|
|
|
+public class DisScaleController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ DisScaleFacade disScaleFacade;
|
|
|
+
|
|
|
+ @ApiOperation(value = "返回诊断量表列表[by:zhoutg]",
|
|
|
+ notes = "")
|
|
|
+ @PostMapping("/getDisScale")
|
|
|
+ public RespDTO<List<DisScaleDTO>> getDisType(@RequestBody DisScaleVO scaleVO) {
|
|
|
+ List<DisScaleDTO> data = disScaleFacade.getDisScaleFac(scaleVO.getDisId());
|
|
|
+ return RespDTO.onSuc(data);
|
|
|
+ }
|
|
|
+}
|