From bfa44e113622bfbca36821627fe085aad0053a8c Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Sun, 23 Jan 2022 12:24:30 +0800
Subject: [PATCH] feat:商品资料导出新增时长字段
---
zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopDeliveryInfoDao.xml | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopDeliveryInfoDao.xml b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopDeliveryInfoDao.xml
index 68a6c21..d88c52d 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopDeliveryInfoDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopDeliveryInfoDao.xml
@@ -145,6 +145,9 @@
<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>
</sql>
@@ -241,8 +244,8 @@
<if test="record.orderId != null ">
order_id = #{record.orderId},
</if>
- <if test="record.receive_id != null ">
- receive_id = #{record.receive_id},
+ <if test="record.receiveId != null ">
+ receive_id = #{record.receiveId},
</if>
<if test="record.userId != null and record.userId != '' ">
user_id = #{record.userId},
@@ -268,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>
--
Gitblit v1.9.1