|
@@ -140,7 +140,7 @@ public class DeptController {
|
|
|
@GetMapping("/page")
|
|
|
@Operation(summary = "获取部门分页")
|
|
|
@PreAuthorize("@ss.hasPermission('system:dept:page')")
|
|
|
- public CommonResult<PageResult<DeptRespVO>> getDeptList(deptPageReqVO reqVO) {
|
|
|
+ public CommonResult<PageResult<DeptRespVO>> getDeptPage(deptPageReqVO reqVO) {
|
|
|
PageResult<DeptDO> result = deptService.getDeptPage(reqVO);
|
|
|
for (DeptDO L :result.getList()){
|
|
|
DeptRespVO newDept =BeanUtils.toBean(L, DeptRespVO.class);
|