From 10591967e6315539576544409d05073d383b77e4 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期一, 02 九月 2024 09:34:54 +0800
Subject: [PATCH] 1.优惠券返回字段添加 2.app端首页、活动中心、等方法

---
 src/main/resources/mapper/flower/FlowerMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/flower/FlowerMapper.xml b/src/main/resources/mapper/flower/FlowerMapper.xml
index 0c499bd..3ebf9f8 100644
--- a/src/main/resources/mapper/flower/FlowerMapper.xml
+++ b/src/main/resources/mapper/flower/FlowerMapper.xml
@@ -373,4 +373,10 @@
         </if>
         ORDER BY fzp.rank asc
     </select>
+
+    <update id="updateFlowerCategoryInfo">
+        update t_flower f, t_flower_category fc
+        set f.unit = fc.unit, f.color = fc.color
+        where f.category = fc.id and fc.id = #{category}
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3