From c951d18a2c81aac586773beac0638e63a0d78348 Mon Sep 17 00:00:00 2001 From: 13405411873 <1994398261@qq.com> Date: Mon, 7 Apr 2025 09:16:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E9=98=85=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/busi/BusiNoticeMapper.xml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/mapper/busi/BusiNoticeMapper.xml b/ruoyi-admin/src/main/resources/mapper/busi/BusiNoticeMapper.xml index 615104a..ca1aff8 100644 --- a/ruoyi-admin/src/main/resources/mapper/busi/BusiNoticeMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/busi/BusiNoticeMapper.xml @@ -214,10 +214,22 @@ order by dbns.create_time desc AND ( dbn.gift_detail IS NOT NULL AND dbn.gift_detail != '' ) - AND ( dbn.platform_code =#{entity.platformCode} ) + and dbn.platform_code IN + + -- platform_code 包含it + #{it} + - AND ( dbn.blogger_types LIKE CONCAT('%',#{entity.bloggerType},'%') ) + and + + dbn.blogger_types like concat('%',#{it},'%') + + + + + AND ( dbn.blogger_types IN (#{it}) ) + AND ( dbn.title LIKE CONCAT('%',#{entity.searchValue},'%') OR