From 48c9414db4b7c44a43524115570796025d38a653 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期一, 17 一月 2022 16:37:34 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
java110-db/src/main/resources/mapper/goods/ProductSpecValueServiceDaoImplMapper.xml | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/goods/ProductSpecValueServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/goods/ProductSpecValueServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index 8cc0085..363b807
--- a/java110-db/src/main/resources/mapper/goods/ProductSpecValueServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/goods/ProductSpecValueServiceDaoImplMapper.xml
@@ -92,9 +92,7 @@
<!-- 淇敼浜у搧瑙勬牸鍊间俊鎭� add by wuxw 2018-07-03 -->
<update id="updateProductSpecValueInfo" parameterType="Map">
update product_spec_value t set t.status_cd = #{statusCd}
- <if test="newBId != null and newBId != ''">
- ,t.b_id = #{newBId}
- </if>
+
<if test="specId !=null and specId != ''">
, t.spec_id= #{specId}
</if>
@@ -111,9 +109,7 @@
<if test="vipPrice !=null and vipPrice != ''">
, t.vip_price= #{vipPrice}
</if>
- <if test="storeId !=null and storeId != ''">
- , t.store_id= #{storeId}
- </if>
+
<if test="stock !=null and stock != ''">
, t.stock= #{stock}
</if>
@@ -130,6 +126,9 @@
<if test="productId !=null and productId != ''">
and t.product_id= #{productId}
</if>
+ <if test="storeId !=null and storeId != ''">
+ and t.store_id= #{storeId}
+ </if>
</update>
--
Gitblit v1.8.0