Browse Source

/。 baobiao 2

release_toaliyun_real
xhxu 4 years ago
parent
commit
1dc9b24c8b
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml

+ 1
- 3
mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml View File

@@ -194,9 +194,7 @@
<select id="sceneDataList" resultType="com.iformall.domain.vo.MarkingSceneDataVo" parameterType="com.iformall.domain.dto.MarkingCouponDataReportDto"> <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, select DATE_FORMAT(create_time,'%Y-%m-%d') as xtime,
Count(*) as sendCount 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} where channel_type=#{channelType}
<if test=" null != tenantId and '' != tenantId"> <if test=" null != tenantId and '' != tenantId">
and `tenant_id` = #{tenantId} and `tenant_id` = #{tenantId}


Loading…
Cancel
Save