From 08892731ebf9a4a6004700d5b3710f7ea3c7b5b5 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期二, 14 十月 2025 18:25:15 +0800
Subject: [PATCH] bug修改

---
 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TSysGoodsServiceImpl.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TSysGoodsServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TSysGoodsServiceImpl.java
index be0250c..ae9dcc0 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TSysGoodsServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TSysGoodsServiceImpl.java
@@ -84,6 +84,7 @@
         exchange.setGoodsCount(dto.getCount());
         exchange.setUsePoints(tSysGoods.getRequiredPoints().intValue() * dto.getCount());
         exchange.setExchangeTime(LocalDateTime.now());
+        exchange.setClinicId(crmClinic.getId());
         sysGoodsExchangeMapper.insert(exchange);
 
         // 记录

--
Gitblit v1.7.1