|
|
|
@@ -194,9 +194,7 @@ |
|
|
|
<select id="sceneDataList" resultType="com.iformall.domain.vo.MarkingSceneDataVo" parameterType="com.iformall.domain.dto.MarkingCouponDataReportDto"> |
|
|
|
select DATE_FORMAT(create_time,'%Y-%m-%d') as xtime, |
|
|
|
Count(*) as sendCount |
|
|
|
from (<foreach collection="tenantEntitys" item="tenantEntity" index="index" separator="union all"> |
|
|
|
SELECT * from wx_coupon_action_log${tenantEntity.shardTableSuffix} |
|
|
|
</foreach>) wx_coupon_action_log |
|
|
|
from wx_coupon_action_log |
|
|
|
where channel_type=#{channelType} |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and `tenant_id` = #{tenantId} |
|
|
|
|