From af1f540d6c1dd858eadbbcc8357ec2a81fac4058 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Sun, 8 Jun 2025 12:30:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=85=AC=E5=91=8A=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/NoticeMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/continew-module-system/src/main/resources/mapper/NoticeMapper.xml b/continew-module-system/src/main/resources/mapper/NoticeMapper.xml index edc15936..91acb392 100644 --- a/continew-module-system/src/main/resources/mapper/NoticeMapper.xml +++ b/continew-module-system/src/main/resources/mapper/NoticeMapper.xml @@ -24,7 +24,7 @@ LEFT JOIN sys_notice_log AS t2 ON t2.notice_id = t1.id - (t1.notice_scope = 1 OR (t1.notice_scope = 2 AND JSON_CONTAINS(t1.notice_users, CONCAT('"', #{userId}, '"')))) + (t1.notice_scope = 1 OR (t1.notice_scope = 2 AND JSON_CONTAINS(t1.notice_users, CONCAT('"', #{query.userId}, '"')))) AND t1.title LIKE CONCAT('%', #{query.title}, '%')