From 0abeea2e7d2f2faec76e667b0b73ddecea85f561 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 25 十二月 2020 09:19:26 +0800
Subject: [PATCH] 优化门禁设备显示问题

---
 java110-db/src/main/resources/mapper/goods/StoreCartServiceDaoImplMapper.xml |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/goods/StoreCartServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/goods/StoreCartServiceDaoImplMapper.xml
index e402db8..884e305 100644
--- a/java110-db/src/main/resources/mapper/goods/StoreCartServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/goods/StoreCartServiceDaoImplMapper.xml
@@ -59,9 +59,7 @@
     <!-- 淇敼璐墿杞︿俊鎭� add by wuxw 2018-07-03 -->
     <update id="updateStoreCartInfo" parameterType="Map">
         update store_cart t set t.status_cd = #{statusCd}
-        <if test="newBId != null and newBId != ''">
-            ,t.b_id = #{newBId}
-        </if>
+
         <if test="valueId !=null and valueId != ''">
             , t.value_id= #{valueId}
         </if>
@@ -74,9 +72,7 @@
         <if test="state !=null and state != ''">
             , t.state= #{state}
         </if>
-        <if test="storeId !=null and storeId != ''">
-            , t.store_id= #{storeId}
-        </if>
+
         <if test="cartNum !=null and cartNum != ''">
             , t.cart_num= #{cartNum}
         </if>
@@ -84,6 +80,9 @@
         <if test="cartId !=null and cartId != ''">
             and t.cart_id= #{cartId}
         </if>
+        <if test="storeId !=null and storeId != ''">
+            and t.store_id= #{storeId}
+        </if>
 
     </update>
 

--
Gitblit v1.8.0