From 9c791d431038fe79a111805762ee2f42c96b51c5 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 08 Nov 2021 17:03:15 +0800 Subject: [PATCH] fix --- 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