Просмотр исходного кода

/。 baobiao 2

release_toaliyun_real
xhxu 4 лет назад
Родитель
Сommit
1dc9b24c8b
1 измененных файлов: 1 добавлений и 3 удалений
  1. +1
    -3
      mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml

+ 1
- 3
mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml Просмотреть файл

@@ -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}


Загрузка…
Отмена
Сохранить