From e37d2ce605787d75fe4fc851c87e7b6c02c9b2d8 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期六, 09 十一月 2024 17:14:51 +0800 Subject: [PATCH] 我的分享和收藏 --- zhang-content/src/main/java/com/ruoyi/service/impl/ZfAncestorServiceImpl.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/service/impl/ZfAncestorServiceImpl.java b/zhang-content/src/main/java/com/ruoyi/service/impl/ZfAncestorServiceImpl.java index e059439..8a9342e 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/impl/ZfAncestorServiceImpl.java +++ b/zhang-content/src/main/java/com/ruoyi/service/impl/ZfAncestorServiceImpl.java @@ -134,6 +134,7 @@ @Override public List<AncestorClan> selectByCondition(ZfAncestor zfAncestor) { QueryWrapper<Object> lqw = new QueryWrapper<>(); + lqw.eq(zfAncestor.getClanId() !=null , " zf_ancestor.clan_id", zfAncestor.getClanId()); lqw.like(StringUtils.isNotEmpty(zfAncestor.getName()),"zf_ancestor.name",zfAncestor.getName()); -- Gitblit v1.9.1