|
@@ -0,0 +1,33 @@
|
|
|
+package com.diagbot.web;
|
|
|
+
|
|
|
+import com.diagbot.dto.BillDTO;
|
|
|
+import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.facade.BillFacade;
|
|
|
+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.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Description: CDSS核心API控制层
|
|
|
+ * @author: zhoutg
|
|
|
+ * @time: 2018/8/30 10:12
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/core")
|
|
|
+@Api(value = "CDSS核心API", tags = { "CDSS核心API" })
|
|
|
+@SuppressWarnings("unchecked")
|
|
|
+public class CoreController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private BillFacade billFacade;
|
|
|
+
|
|
|
+ @ApiOperation(value = "开单合理性API[zhoutg]", notes = "")
|
|
|
+ @PostMapping("/bill")
|
|
|
+ public RespDTO<BillDTO> bill() {
|
|
|
+ return RespDTO.onSuc(billFacade.billFac());
|
|
|
+ }
|
|
|
+}
|
|
|
+
|