From d5d3d4e6397f23782958748f46c389b85eaafe47 Mon Sep 17 00:00:00 2001 From: jyy <jyy> Date: Fri, 20 Aug 2021 14:28:43 +0800 Subject: [PATCH] Merge branch 'score_shop' into api_score_meger --- zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopDeliveryInfoDao.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 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 0a9cbab..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> @@ -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