zqy
2024-10-22 ca054d1db9256bc8d367486b0d78e89cd4fd7fdb
zhang-content/src/main/java/com/ruoyi/service/impl/ZfContactServiceImpl.java
@@ -57,6 +57,12 @@
    @Resource
    RestHighLevelClient restHighLevelClient;
    @Resource
    ZfContactShraServiceImpl zfContactShraService;
    @Resource
    ZfContactDownlService zfContactDownlService;
    private LambdaQueryWrapper<ZfContact> buildCondition(ZfContact zfContact,List<Long> familyIdList) {
        LambdaQueryWrapper<ZfContact> lqw = new LambdaQueryWrapper<>();
@@ -594,6 +600,9 @@
        List<ZfContact> zfContacts = listByIds(Arrays.asList(ids));
        if (! (zfContactDownlService.deleteData(ids) && zfContactShraService.deleteByContentId(ids)  ) ){
            return AjaxResult.error();
        }
        if (zfContactService.removeByIds(Arrays.asList(ids))) {
            //删除es中的数据