| | |
| | | |
| | | @GetMapping("/list") |
| | | public ResponseVO<Object> list(BaseConditionVO baseConditionVO, @RequestParam(value = "keyword", required = false) String keyword){ |
| | | PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | | LambdaQueryWrapper<IpVolumeFile> wrapper = ipVolumeFileService.listFile(keyword); |
| | | if (null != keyword) { |
| | | // PageHelper.startPage(baseConditionVO.getPageNo(), baseConditionVO.getPageSize()); |
| | | LambdaQueryWrapper<IpVolumeFile> wrapper = ipVolumeFileService.listFile(baseConditionVO, keyword); |
| | | /* if (null != keyword) { |
| | | wrapper.like(IpVolumeFile::getFileName, keyword); |
| | | } |
| | | return ResponseUtil.successPage(ipVolumeFileService.list(wrapper)); |
| | | }*/ |
| | | return ResponseUtil.success(ipVolumeFileService.list(wrapper)); |
| | | } |
| | | } |