From 913a58c13ba12f872caf94a53c658d54fc89a84c Mon Sep 17 00:00:00 2001 From: SjS Date: Tue, 27 May 2025 15:20:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E7=BB=93=E6=9E=84=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/bst/chat/mapper/ChatMapper.xml | 4 +++ .../bst/chatMsg/domain/ChatMsgQuery.java | 3 -- .../ruoyi/bst/chatMsg/domain/ChatMsgVO.java | 15 ++++++++++ .../bst/chatMsg/mapper/ChatMsgMapper.xml | 30 +++++++++++++++---- 4 files changed, 43 insertions(+), 9 deletions(-) diff --git a/ruoyi-service/src/main/java/com/ruoyi/bst/chat/mapper/ChatMapper.xml b/ruoyi-service/src/main/java/com/ruoyi/bst/chat/mapper/ChatMapper.xml index 4f72a82..e5bb1cb 100644 --- a/ruoyi-service/src/main/java/com/ruoyi/bst/chat/mapper/ChatMapper.xml +++ b/ruoyi-service/src/main/java/com/ruoyi/bst/chat/mapper/ChatMapper.xml @@ -43,6 +43,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and su_receive.nick_name like concat ('%',#{query.receiverName},'%') and bc.create_time > #{query.joinTime} ${query.params.dataScope} + ${@com.ruoyi.framework.util.DataScopeUtil@create(query.scope) + .userSetAlias("bc.send_id") + .build() + }