| | |
| | | @Resource |
| | | RestHighLevelClient restHighLevelClient; |
| | | |
| | | @Resource |
| | | private IZfPropertyDownloadService zfPropertyDownloadService; |
| | | |
| | | @Resource |
| | | private IZfPropertyShareService iZfPropertyShareService; |
| | | |
| | | |
| | | // private LambdaQueryWrapper<ZfProperty> buildCondition(ZfProperty zfProperty) { |
| | | // LambdaQueryWrapper<ZfProperty> lqw = new LambdaQueryWrapper<>(); |
| | |
| | | |
| | | List<ZfProperty> zfPropertys = listByIds(Arrays.asList(ids)); |
| | | |
| | | if (! (zfPropertyDownloadService.deleteData(ids) && iZfPropertyShareService.deleteByContentId(ids) ) ){ |
| | | return AjaxResult.error(); |
| | | } |
| | | if (zfPropertyService.removeByIds(Arrays.asList(ids))) { |
| | | |
| | | //删除es中的数据 |
| | |
| | | throw new RuntimeException(e); |
| | | }} |
| | | }); |
| | | System.out.println("15165132165346153246153"); |
| | | |
| | | return AjaxResult.success(); |
| | | }else { |
| | | return AjaxResult.error(); |