| | |
| | | @Resource |
| | | RestHighLevelClient restHighLevelClient; |
| | | |
| | | @Resource |
| | | ZfCollectionShareService zfCollectionShareService; |
| | | |
| | | @Resource |
| | | ZfCollectionDownloadService zfCollectionDownloadService; |
| | | |
| | | private LambdaQueryWrapper<ZfCollection> buildCondition(ZfCollection zfCollection,List<Long> familyIdList) { |
| | | LambdaQueryWrapper<ZfCollection> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.orderByDesc(ZfCollection::getCreateTime); |
| | |
| | | } |
| | | |
| | | List<ZfCollection> zfCollections = listByIds(Arrays.asList(ids)); |
| | | |
| | | if (! ( zfCollectionDownloadService.deleteData(ids) && zfCollectionShareService.deleteByContentId(ids) ) ){ |
| | | return AjaxResult.error(); |
| | | } |
| | | if (zfCollectionService.removeByIds(Arrays.asList(ids))) { |
| | | |
| | | //删除es中的数据 |