| | |
| | | if (!permissionConfig.check(MenuEnum.LED_FILE_LIST.getCode())) { |
| | | return ResponseUtil.fail("缺少对应用户权限"); |
| | | } |
| | | PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | | |
| | | LambdaQueryWrapper<LEDProgramFile> wrapper = ledProgramFileService.listFile(); |
| | | if(null!=keyword){ |
| | | if (!keyword.isEmpty()) { |
| | | wrapper.like(LEDProgramFile::getName,keyword); |
| | | } |
| | | |
| | | PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | | return ResponseUtil.successPage(ledProgramFileService.list(wrapper)); |
| | | } |
| | | |