| | |
| | | @Resource |
| | | RestHighLevelClient restHighLevelClient; |
| | | |
| | | @Resource |
| | | ZfContactShraServiceImpl zfContactShraService; |
| | | |
| | | @Resource |
| | | ZfContactDownlService zfContactDownlService; |
| | | |
| | | |
| | | private LambdaQueryWrapper<ZfContact> buildCondition(ZfContact zfContact,List<Long> familyIdList) { |
| | | LambdaQueryWrapper<ZfContact> lqw = new LambdaQueryWrapper<>(); |
| | |
| | | |
| | | List<ZfContact> zfContacts = listByIds(Arrays.asList(ids)); |
| | | |
| | | if (! (zfContactDownlService.deleteData(ids) && zfContactShraService.deleteByContentId(ids) ) ){ |
| | | return AjaxResult.error(); |
| | | } |
| | | if (zfContactService.removeByIds(Arrays.asList(ids))) { |
| | | |
| | | //删除es中的数据 |