From 206f601b1f2a2e3cb0bf4f5dead01bec9077d8e9 Mon Sep 17 00:00:00 2001
From: 彭雪彬 <1724387007@qq.com>
Date: Thu, 04 Sep 2025 15:28:52 +0800
Subject: [PATCH] Merge branch 'xin' into pxb

---
 oying-system/src/main/java/com/oying/modules/message/service/MesCustomerCommentMsgService.java |   80 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 80 insertions(+), 0 deletions(-)

diff --git a/oying-system/src/main/java/com/oying/modules/message/service/MesCustomerCommentMsgService.java b/oying-system/src/main/java/com/oying/modules/message/service/MesCustomerCommentMsgService.java
new file mode 100644
index 0000000..917267a
--- /dev/null
+++ b/oying-system/src/main/java/com/oying/modules/message/service/MesCustomerCommentMsgService.java
@@ -0,0 +1,80 @@
+package com.oying.modules.message.service;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.oying.modules.message.domain.MesCustomerCommentMsg;
+import com.oying.modules.message.domain.dto.MesCustomerCommentMsgQueryCriteria;
+import com.oying.modules.message.domain.myDto.MesCustomerCommentMsgDTO;
+import com.oying.utils.PageResult;
+
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * @author 李萌
+ * @description 服务接口
+ * @date 2025-07-25
+ **/
+public interface MesCustomerCommentMsgService extends IService<MesCustomerCommentMsg> {
+
+    /**
+     * 查询数据分页
+     *
+     * @param criteria 条件
+     * @param page     分页参数
+     * @return PageResult
+     */
+    PageResult<MesCustomerCommentMsg> queryAll(MesCustomerCommentMsgQueryCriteria criteria, Page<Object> page);
+
+    /**
+     * 查询所有数据不分页
+     *
+     * @param criteria 条件参数
+     * @return List<MesCustomerCommentMsgDto>
+     */
+    List<MesCustomerCommentMsg> queryAll(MesCustomerCommentMsgQueryCriteria criteria);
+
+    /**
+     * 创建
+     *
+     * @param resources /
+     */
+    void create(MesCustomerCommentMsg resources);
+
+    /**
+     * 编辑
+     *
+     * @param resources /
+     */
+    void update(MesCustomerCommentMsg resources);
+
+    /**
+     * 多选删除
+     *
+     * @param ids /
+     */
+    void deleteAll(List<Long> ids);
+
+    /**
+     * 导出数据
+     *
+     * @param all      待导出的数据
+     * @param response /
+     * @throws IOException /
+     */
+    void download(List<MesCustomerCommentMsg> all, HttpServletResponse response) throws IOException;
+
+    List<MesCustomerCommentMsgDTO> listCustomerComment(Long shopId);
+
+    //方法插入相应的数据
+    //一个店铺下多个订单 。  每个订单每个顾客留言
+    //插入参数 订单编号 留言内容 店铺ID
+    // 插入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
+
+    void insertOrderMsg(MesCustomerCommentMsg resources);
+
+    //插入具体字段  店铺id 订单编号 订单id 买家id 买家姓名 留言内容 回复内容
+    void insertOrderMsgDetail(Long shopId, Long orderId, String orderNo, String buyerId, String buyerName, String commentContent, String replyContent);
+
+}

--
Gitblit v1.9.3