From a960e7e76baa36e0660d51d4a1e92f14c418445e Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期日, 10 十一月 2024 19:46:01 +0800 Subject: [PATCH] 修改了bug --- 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