From 0b459f932333ab6b67fe5aaac6b8bff871ada5f6 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 16 Feb 2023 14:54:53 +0800
Subject: [PATCH] 运费模板指定省份不能重复

---
 src/main/resources/mapper/modules/MallGoodsMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallGoodsMapper.xml b/src/main/resources/mapper/modules/MallGoodsMapper.xml
index 183d570..5162606 100644
--- a/src/main/resources/mapper/modules/MallGoodsMapper.xml
+++ b/src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -286,6 +286,18 @@
         where id=#{id} and  volume - #{cnt} <![CDATA[ >= ]]> 0
     </update>
 
+    <update id="updateCarriageRuleId">
+        update mall_goods
+        set carriage_rule_id = null
+        where id=#{id}
+    </update>
+
+    <update id="updateCarriageAmount">
+        update mall_goods
+        set carriage_amount = null
+        where id=#{id}
+    </update>
+
     <select id="selectMallGoodsListQueryNoPage" resultType="cc.mrbird.febs.mall.vo.MallGoodsListVo">
         select * from (
         select

--
Gitblit v1.9.1