From 1496a7e366a2796b825e7b989b82654ae1aca6b8 Mon Sep 17 00:00:00 2001 From: 姜友瑶 <935090232@qq.com> Date: Mon, 30 May 2022 20:48:03 +0800 Subject: [PATCH] fix:修复退款订单退款业绩没计算为负数问题 --- zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopDeliveryInfoDao.xml | 9 +++++++++ 1 files changed, 9 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 f5cc7fb..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,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> @@ -265,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