feige
2024-10-25 81995abfa712d65b7f7f1e23b97a97bc4065103d
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<>();
@@ -290,7 +296,7 @@
            fatherFaId = zInfoUserService.getInfoById(myself.getFatherId()).getFamilyId();
        Long motherFaId = 0L;
        if(myself.getMomId()!=null)
            motherFaId = zInfoUserService.getInfoBysysId(myself.getMomId()).getFamilyId();
            motherFaId = zInfoUserService.getInfoById(myself.getMomId()).getFamilyId();
        //加上自己家庭的id
        idList.add(familyId);
@@ -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();