From 982313135d1c239fe3b20e4c5664781f92d40aca Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Thu, 31 Jul 2025 17:17:39 +0800
Subject: [PATCH] Merge branch 'master' into xin

---
 oying-system/src/main/resources/mapper/message/MesCustomerCommentMsgMapper.xml |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/resources/mapper/message/MesCustomerCommentMsgMapper.xml b/oying-system/src/main/resources/mapper/message/MesCustomerCommentMsgMapper.xml
new file mode 100644
index 0000000..5e336ad
--- /dev/null
+++ b/oying-system/src/main/resources/mapper/message/MesCustomerCommentMsgMapper.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.oying.modules.message.mapper.MesCustomerCommentMsgMapper">
+    <resultMap id="BaseResultMap" type="com.oying.modules.message.domain.MesCustomerCommentMsg">
+        <id column="id" property="id"/>
+        <result column="msg_record_id" property="msgRecordId"/>
+        <result column="shop_id" property="shopId"/>
+        <result column="order_id" property="orderId"/>
+        <result column="order_no" property="orderNo"/>
+        <result column="buyer_id" property="buyerId"/>
+        <result column="buyer_name" property="buyerName"/>
+        <result column="evaluation_id" property="evaluationId"/>
+        <result column="replied" property="replied"/>
+        <result column="create_by" property="createBy"/>
+        <result column="create_time" property="createTime"/>
+        <result column="update_by" property="updateBy"/>
+        <result column="update_time" property="updateTime"/>
+        <result column="comment_time" property="commentTime"/>
+        <result column="comment_content" property="commentContent"/>
+        <result column="reply_content" property="replyContent"/>
+        <result column="ext_jump_url" property="extJumpUrl"/>
+        <result column="int_jump_path" property="intJumpPath"/>
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id, msg_record_id, shop_id, order_id, order_no, buyer_id, buyer_name, evaluation_id, replied, create_by, create_time, update_by, update_time, comment_time, comment_content, reply_content, ext_jump_url, int_jump_path
+    </sql>
+    <sql id="CustomerCommentMsg_Column_List">
+        id, shop_id, order_no, buyer_id, buyer_name, replied, comment_time, comment_content, reply_content
+    </sql>
+
+
+    <select id="findAll" resultMap="BaseResultMap">
+        SELECT
+        <include refid="Base_Column_List"/>
+        FROM mes_customer_comment_msg
+        <where>
+        </where>
+        ORDER BY id DESC
+    </select>
+
+    <select id="listCustomerComment" resultType="com.oying.modules.message.domain.myDto.MesCustomerCommentMsgDTO"
+            parameterType="java.lang.Long">
+        SELECT
+            <include refid="CustomerCommentMsg_Column_List"/>
+        FROM mes_customer_comment_msg
+        WHERE shop_id = #{shopId}
+        ORDER BY id DESC
+    </select>
+</mapper>

--
Gitblit v1.9.3