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/common/OperstionLogDao.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/common/OperstionLogDao.xml b/zq-erp/src/main/resources/mybatis/mapper/common/OperstionLogDao.xml index d1018b6..3fe7b82 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/common/OperstionLogDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/common/OperstionLogDao.xml @@ -24,7 +24,7 @@ LEFT JOIN sys_vip_info c ON a.vip_id = c.id LEFT JOIN sys_shop_info d ON a.shop_id = d.id <where> - a.company_id=#{param.companyId} and (c.IS_DELETE is null or c.IS_DELETE = '') + a.company_id=#{param.companyId} <if test="param.shopId != null and param.shopId != 0 "> and a.shop_id=#{param.shopId} </if> -- Gitblit v1.9.1