From 675272f04c06826c0b9c0521fc62a316a09ba435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E4=BD=B3=E8=B1=AA?= <18505142974@163.com> Date: Tue, 12 Aug 2025 09:03:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=86=E9=A2=91bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/content/MessageRepository.xml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 ruoyi-modules/ruoyi-content/src/main/resources/mapper/content/MessageRepository.xml diff --git a/ruoyi-modules/ruoyi-content/src/main/resources/mapper/content/MessageRepository.xml b/ruoyi-modules/ruoyi-content/src/main/resources/mapper/content/MessageRepository.xml new file mode 100644 index 000000000..8db1d8235 --- /dev/null +++ b/ruoyi-modules/ruoyi-content/src/main/resources/mapper/content/MessageRepository.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + INSERT INTO t_message + ( + id, + from_user_id, + from_nickname, + from_face, + to_user_id, + msg_type, + msg_content, + create_time + ) + VALUES + ( + IFNULL(#{id}, REPLACE(UUID(),'-','')), + #{fromUserId}, + #{fromNickname}, + #{fromFace}, + #{toUserId}, + #{msgType}, + #{msgContent, jdbcType=LONGVARCHAR, typeHandler=com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler}, + #{createTime} + ) + + + + + + + +