Преглед изворни кода

/。 baobiao 2

release_toaliyun_real
xhxu пре 4 година
родитељ
комит
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}


Loading…
Откажи
Сачувај