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