| | |
| | | */ |
| | | @GetMapping("/report/list") |
| | | public ResponseVO<Object> listReportData(BaseConditionVO conditionVO |
| | | , @RequestParam(value = "keyword", required = false) String keyword, @RequestParam(value = "deviceCode", required = false) String deviceCode) { |
| | | , @RequestParam(value = "keyword", required = false) String keyword |
| | | , @RequestParam(value = "deviceCode", required = false) String deviceCode |
| | | , @RequestParam(value = "order", required = false) Integer order |
| | | ,@RequestParam(value = "seq", required = false) Integer seq) { |
| | | if (!permissionConfig.check(MenuEnum.LIGHT_DATA.getCode())) { |
| | | return ResponseUtil.fail("缺少对应用户权限"); |
| | | } |
| | | CommonPage commonPage = lightReportDataService.listReportData(conditionVO.getPageNo(), conditionVO.getPageSize(), keyword, deviceCode); |
| | | CommonPage commonPage = lightReportDataService.listReportData(conditionVO.getPageNo(), conditionVO.getPageSize(), keyword, deviceCode,order,seq); |
| | | List<LightReportDataBo> lightReportDataBos = (List<LightReportDataBo>) commonPage.getList(); |
| | | |
| | | if (lightReportDataBos == null) { |