|
@@ -7,6 +7,7 @@ import com.diagbot.dto.DeptShortDTO;
|
|
|
import com.diagbot.dto.DeptVitalDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.facade.DeptVitalFacade;
|
|
|
+import com.diagbot.vo.DeptIdVO;
|
|
|
import com.diagbot.vo.DeptVitalPageVO;
|
|
|
import com.diagbot.vo.DeptVitalVO;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -66,8 +67,8 @@ public class DeptVitalController {
|
|
|
@PostMapping("/delAllDeptVitalList")
|
|
|
@SysLogger("delAllDeptVitalList")
|
|
|
@Transactional
|
|
|
- public RespDTO<Boolean> delAllDeptVitalList(@RequestBody DeptVitalVO deptVitalVO) {
|
|
|
- Boolean data = deptVitalFacade.delAllDeptVitalList(deptVitalVO.getDeptId());
|
|
|
+ public RespDTO<Boolean> delAllDeptVitalList(@RequestBody DeptIdVO deptIdVO) {
|
|
|
+ Boolean data = deptVitalFacade.delAllDeptVitalList(deptIdVO.getDeptId());
|
|
|
return RespDTO.onSuc(data);
|
|
|
}
|
|
|
|
|
@@ -75,8 +76,8 @@ public class DeptVitalController {
|
|
|
notes = "deptId:科室ID,必填<br>")
|
|
|
@PostMapping("/getModuleByDeptId")
|
|
|
@SysLogger("getModuleByDeptId")
|
|
|
- public RespDTO<DeptVitalDTO> getModuleByDeptId(@RequestBody DeptVitalVO deptVitalVO) {
|
|
|
- DeptVitalDTO data = deptVitalFacade.getModuleByDeptId(deptVitalVO.getDeptId());
|
|
|
+ public RespDTO<DeptVitalDTO> getModuleByDeptId(@RequestBody DeptIdVO deptIdVO) {
|
|
|
+ DeptVitalDTO data = deptVitalFacade.getModuleByDeptId(deptIdVO.getDeptId());
|
|
|
return RespDTO.onSuc(data);
|
|
|
}
|
|
|
|
|
@@ -109,8 +110,8 @@ public class DeptVitalController {
|
|
|
notes = "deptId:科室ID,必填<br>")
|
|
|
@PostMapping("/getDeptShortList_modify")
|
|
|
@SysLogger("getDeptShortList_modify")
|
|
|
- public RespDTO<DeptShortDTO> getDeptShortListModify(@RequestBody DeptVitalVO deptVitalVO) {
|
|
|
- List<DeptShortDTO> data = deptVitalFacade.getDeptShortLisModify(deptVitalVO.getDeptId());
|
|
|
+ public RespDTO<DeptShortDTO> getDeptShortListModify(@RequestBody DeptIdVO deptIdVO) {
|
|
|
+ List<DeptShortDTO> data = deptVitalFacade.getDeptShortLisModify(deptIdVO.getDeptId());
|
|
|
return RespDTO.onSuc(data);
|
|
|
}
|
|
|
}
|