From e423d56d730db1baed24f3f7dbbc4141038776b6 Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Fri, 18 Jun 2021 22:12:03 +0800
Subject: [PATCH] 修复每日业绩bug和优化赠送业绩计算方式
---
zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupInfoDao.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupInfoDao.xml b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupInfoDao.xml
index bab793a..4660ac1 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupInfoDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesGroupInfoDao.xml
@@ -274,7 +274,7 @@
left join shop_product t3 on t2.goods_id=t3.id
left join shop_activities_group_price t4 on t1.id=t4.act_id and t4.seq=1
where find_in_set(#{record.shopId}, t1.shop_ids) and t1.act_status=1 and t1.act_type=1
- and company_id=#{record.companyId}
+ and t1.company_id=#{record.companyId}
<if test="record !=null"><!-- 判断pageVo对象是否为空 -->
<if test="record.sort !=null and record.order !=null">
order by
@@ -294,7 +294,7 @@
left join shop_product t3 on t2.goods_id=t3.id
left join shop_activities_group_price t4 on t1.id=t4.act_id and t4.seq=1
where find_in_set(#{record.shopId}, t1.shop_ids) and t1.act_status=1
- and company_id=#{record.companyId}
+ and t1.company_id=#{record.companyId}
</select>
<select id="selectGroupInfoByActId" resultMap="ShopActivitiesGroupInfoMap">
--
Gitblit v1.9.1