|
@@ -28,6 +28,7 @@ import java.util.List;
|
|
|
@RestController
|
|
|
@RequestMapping("/deptInfo")
|
|
|
@Api(value = "科室信息API", tags = { "科室信息API" })
|
|
|
+@SuppressWarnings("unchecked")
|
|
|
public class DeptInfoController {
|
|
|
|
|
|
@Autowired
|
|
@@ -39,6 +40,6 @@ public class DeptInfoController {
|
|
|
@PostMapping("/getDeptInfo")
|
|
|
@SysLogger("getDeptInfo")
|
|
|
public RespDTO<List<DeptInfoDTO>> getDeptInfo(@Valid @RequestBody DeptInfoVO deptInfoVO) {
|
|
|
- return deptInfoFacade.getDeptInfo(deptInfoVO);
|
|
|
+ return RespDTO.onSuc(deptInfoFacade.getDeptInfo(deptInfoVO));
|
|
|
}
|
|
|
}
|