| | |
| | | import com.ycl.service.user.UmsDepartManageService; |
| | | import com.ycl.utils.auth.UserAuthUtil; |
| | | import com.ycl.vo.depart.DepartVO; |
| | | import com.ycl.vo.depart.UmsDepartVO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | |
| | | @ApiOperation("查询全部部门") |
| | | @GetMapping(value = "/page") |
| | | public CommonResult<IPage<UmsDepart>> page(DepartVO.PageDepartVO params) { |
| | | IPage<UmsDepart> page = departService.pageDepart(params); |
| | | public CommonResult<IPage<UmsDepartVO>> page(DepartVO.PageDepartVO params) { |
| | | IPage<UmsDepartVO> page = departService.pageDepart(params); |
| | | return CommonResult.success(page); |
| | | } |
| | | |