| | |
| | | import org.sxkj.gd.workorder.dto.GdManageDeviceDTO; |
| | | import org.sxkj.gd.workorder.entity.GdManageDeviceEntity; |
| | | import org.sxkj.gd.workorder.excel.GdManageDeviceExcel; |
| | | import org.sxkj.gd.workorder.param.GdManageDevicePageParam; |
| | | import org.sxkj.gd.workorder.service.IGdManageDeviceService; |
| | | import org.sxkj.gd.workorder.vo.GdManageDeviceVO; |
| | | import org.sxkj.gd.workorder.wrapper.GdManageDeviceWrapper; |
| | |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "不分页", notes = "传入gdManageDevice") |
| | | public R<List<GdManageDeviceVO>> page(GdManageDeviceVO gdManageDevice) { |
| | | public R<List<GdManageDeviceVO>> page(GdManageDevicePageParam gdManageDevice) { |
| | | List<GdManageDeviceVO> pages = gdManageDeviceService.selectGdManageDevice(gdManageDevice); |
| | | return R.data(pages); |
| | | } |
| | |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "分页", notes = "传入gdManageDevice") |
| | | public R<IPage<GdManageDeviceVO>> page(GdManageDeviceVO gdManageDevice, Query query) { |
| | | public R<IPage<GdManageDeviceVO>> page(GdManageDevicePageParam gdManageDevice, Query query) { |
| | | IPage<GdManageDeviceVO> pages = gdManageDeviceService.selectGdManageDevicePage(Condition.getPage(query), gdManageDevice); |
| | | return R.data(pages); |
| | | } |