|
@@ -76,8 +76,8 @@ public class DeptVitalController {
|
|
|
notes = "deptId:科室ID,必填<br>")
|
|
|
@PostMapping("/getModuleByDeptId")
|
|
|
@SysLogger("getModuleByDeptId")
|
|
|
- public RespDTO<DeptVitalDTO> getModuleByDeptId(@RequestParam("deptId") Long deptId) {
|
|
|
- DeptVitalDTO data = deptVitalFacade.getModuleByDeptId(deptId);
|
|
|
+ public RespDTO<DeptVitalDTO> getModuleByDeptId(@RequestBody DeptVitalVO deptVitalVO) {
|
|
|
+ DeptVitalDTO data = deptVitalFacade.getModuleByDeptId(deptVitalVO.getDeptId());
|
|
|
return RespDTO.onSuc(data);
|
|
|
}
|
|
|
|
|
@@ -110,8 +110,8 @@ public class DeptVitalController {
|
|
|
notes = "deptId:科室ID,必填<br>")
|
|
|
@PostMapping("/getDeptShortList_modify")
|
|
|
@SysLogger("getDeptShortList_modify")
|
|
|
- public RespDTO<DeptShortDTO> getDeptShortListModify(@RequestParam("deptId") Long deptId) {
|
|
|
- List<DeptShortDTO> data = deptVitalFacade.getDeptShortLisModify(deptId);
|
|
|
+ public RespDTO<DeptShortDTO> getDeptShortListModify(@RequestBody DeptVitalVO deptVitalVO) {
|
|
|
+ List<DeptShortDTO> data = deptVitalFacade.getDeptShortLisModify(deptVitalVO.getDeptId());
|
|
|
return RespDTO.onSuc(data);
|
|
|
}
|
|
|
-}
|
|
|
+}
|