From 14c10d5021513463109aa800aeb3e8dbf479b05c Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期四, 28 八月 2025 10:58:11 +0800 Subject: [PATCH] update --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TbMessageServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TbMessageServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TbMessageServiceImpl.java index 054aa11..684c8f8 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TbMessageServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TbMessageServiceImpl.java @@ -19,11 +19,12 @@ public class TbMessageServiceImpl extends ServiceImpl<TbMessageMapper, TbMessage> implements TbMessageService { @Override - public void addMessage(String text, String userId,String orderId) { + public void addMessage(String text, String userId,String orderId,int type) { TbMessage tbMessage = new TbMessage(); tbMessage.setMessage(text); tbMessage.setUserId(userId); tbMessage.setOrderId(orderId); + tbMessage.setType(2); this.save(tbMessage); } } -- Gitblit v1.7.1