From fe287c15f5a284d5752765cead2e045beb6e7529 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 12 十一月 2020 18:38:40 +0800
Subject: [PATCH] 优化代码

---
 java110-db/src/main/resources/mapper/goods/StoreOrderServiceDaoImplMapper.xml |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/goods/StoreOrderServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/goods/StoreOrderServiceDaoImplMapper.xml
index a7162bd..77753e2 100644
--- a/java110-db/src/main/resources/mapper/goods/StoreOrderServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/goods/StoreOrderServiceDaoImplMapper.xml
@@ -10,7 +10,7 @@
         insert into store_order(
         person_name,ext_order_id,order_id,total_price,pay_price,person_id,remark,o_id,state,freight_price
         ) values (
-        #{personName},#{extOrderId},#{orderId},#{totalPrice},#{payPrice},#{personId},#{remark},#{oId},#{state},#{freightPrice}
+        #{personName},#{extOrderId},#{orderId},#{totalPrice},#{payPrice},#{personId},#{remark},#{OId},#{state},#{freightPrice}
         )
     </insert>
 
@@ -67,9 +67,7 @@
     <!-- 淇敼璐墿杞︿俊鎭� add by wuxw 2018-07-03 -->
     <update id="updateStoreOrderInfo" parameterType="Map">
         update store_order t set t.status_cd = #{statusCd}
-        <if test="newBId != null and newBId != ''">
-            ,t.b_id = #{newBId}
-        </if>
+
         <if test="personName !=null and personName != ''">
             , t.person_name= #{personName}
         </if>

--
Gitblit v1.8.0