| | |
| | | @Resource |
| | | RestHighLevelClient restHighLevelClient; |
| | | |
| | | @Resource |
| | | ZfCleanShareService zfCleanShareService; |
| | | |
| | | @Resource |
| | | ZfCleanDownloadService zfCleanDownloadService; |
| | | |
| | | private LambdaQueryWrapper<ZfClean> buildCondition(ZfClean zfClean,List<Long> familyIdList) { |
| | | LambdaQueryWrapper<ZfClean> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.orderByDesc(ZfClean::getCreateTime); |
| | |
| | | } |
| | | |
| | | List<ZfClean> zfCleans = listByIds(Arrays.asList(ids)); |
| | | |
| | | if (! (zfCleanDownloadService.deleteData(ids) && zfCleanShareService.deleteByContentId(ids) ) ){ |
| | | return AjaxResult.error(); |
| | | } |
| | | if (zfCleanService.removeByIds(Arrays.asList(ids))) { |
| | | |
| | | //删除es中的数据 |