Selaa lähdekoodia

病例质控获取指定医院病历条目

wangyu 5 vuotta sitten
vanhempi
commit
c2fcaefcae

+ 3 - 2
mrman-service/src/main/java/com/diagbot/web/QcCasesController.java

@@ -11,6 +11,7 @@ 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;
 
@@ -41,11 +42,11 @@ public class QcCasesController {
         return RespDTO.onSuc(data);
     }
 
-    @ApiOperation(value = "获取全部模块及条目[by:wangyu]",
+    @ApiOperation(value = "获取指定医院模块及条目[by:wangyu]",
             notes = "获取全部模块及条目")
     @PostMapping("/getAllByHospital")
     @SysLogger("getAllByHospital")
-    public RespDTO<List<QcCasesAllDTO>> getAllByHospital(GetAllByHospitalVO getAllByHospitalVO) {
+    public RespDTO<List<QcCasesAllDTO>> getAllByHospital(@RequestBody GetAllByHospitalVO getAllByHospitalVO) {
         List<QcCasesAllDTO> data =qcCasesFacade.getAllByHospital(getAllByHospitalVO);
         return RespDTO.onSuc(data);
     }