From 2d024e19ca10aed7b7cd556a1320c6319abfa6b7 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 19 八月 2025 20:52:40 +0800 Subject: [PATCH] 用户修改个人信息时 报错 --- zhang-content/src/main/java/com/ruoyi/service/impl/MemoBookServiceImpl.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/service/impl/MemoBookServiceImpl.java b/zhang-content/src/main/java/com/ruoyi/service/impl/MemoBookServiceImpl.java index fbc86f6..b38bd53 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/impl/MemoBookServiceImpl.java +++ b/zhang-content/src/main/java/com/ruoyi/service/impl/MemoBookServiceImpl.java @@ -62,4 +62,12 @@ } + @Override + public List<MemoBook> selectByIdAFid(Long cid, Long fid) { + LambdaQueryWrapper<MemoBook> lqw = new LambdaQueryWrapper<>(); + lqw.eq(cid!=null,MemoBook::getCid,cid) + .eq(fid!=null,MemoBook::getFid,fid); + return list(lqw); + } + } -- Gitblit v1.9.1