zqy
2024-10-22 ca054d1db9256bc8d367486b0d78e89cd4fd7fdb
zhang-content/src/main/java/com/ruoyi/service/impl/IZfPropertyServiceImpl.java
@@ -65,6 +65,12 @@
    @Resource
    RestHighLevelClient restHighLevelClient;
    @Resource
    private IZfPropertyDownloadService zfPropertyDownloadService;
    @Resource
    private IZfPropertyShareService iZfPropertyShareService;
//    private LambdaQueryWrapper<ZfProperty> buildCondition(ZfProperty zfProperty) {
//        LambdaQueryWrapper<ZfProperty> lqw = new LambdaQueryWrapper<>();
@@ -567,6 +573,9 @@
        List<ZfProperty> zfPropertys = listByIds(Arrays.asList(ids));
        if (! (zfPropertyDownloadService.deleteData(ids) && iZfPropertyShareService.deleteByContentId(ids)  ) ){
            return AjaxResult.error();
        }
        if (zfPropertyService.removeByIds(Arrays.asList(ids))) {
            //删除es中的数据
@@ -581,6 +590,8 @@
                    throw new RuntimeException(e);
                }}
            });
            System.out.println("15165132165346153246153");
            return AjaxResult.success();
        }else {
            return AjaxResult.error();