fix
Helius
2021-11-08 9c791d431038fe79a111805762ee2f42c96b51c5
zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopDeliveryInfoDao.xml
@@ -65,6 +65,7 @@
         logistics_status,
         delivery_time,
         pick_up_status,
         receive_id,
         shop_id
   </sql>
@@ -87,6 +88,7 @@
         #{item.logisticsStatus},
         #{item.deliveryTime},
         #{item.pickUpStatus},
         #{item.receiveId},
         #{item.shopId}
   </sql>
@@ -142,6 +144,9 @@
          </if>
          <if test="(record.shopId!=null and record.shopId!='') or  (record.shopId!='' and record.shopId==0)  ">
             and shop_id  = #{record.shopId}
          </if>
          <if test="(record.companyId!=null and record.companyId!='') or  (record.companyId!='' and record.companyId==0)  ">
             and company_id  = #{record.companyId}
          </if>
      </if>
@@ -239,6 +244,9 @@
         <if test="record.orderId != null ">
            order_id  = #{record.orderId},
         </if>
         <if test="record.receiveId != null ">
            receive_id  = #{record.receiveId},
         </if>
         <if test="record.userId != null and record.userId != '' ">
            user_id  = #{record.userId},
         </if>
@@ -263,6 +271,9 @@
         <if test="record.shopId != null ">
            shop_id  = #{record.shopId},
         </if>
         <if test="record.companyId != null ">
            company_id  = #{record.companyId},
         </if>
      </set>
      WHERE id=#{record.id}
   </update>