Browse Source

bug

release_toaliyun_real
xhxu 5 years ago
parent
commit
2c9beb58f6
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/mapper/WxCouponActionLogMapper.java
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml
  3. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 1
- 1
mallinkService/src/main/java/com/iformall/mapper/WxCouponActionLogMapper.java View File

@@ -27,7 +27,7 @@ public interface WxCouponActionLogMapper extends CommonMapper<WxCouponActionLog,

List<MarkingSceneDataReportVo> sceneDataMapJoinCouponOrder(HashMap<String,Object> params);

List<MarkingSceneDataVo> sceneDataList(@Param("markingCouponDataReportDto") MarkingCouponDataReportDto markingCouponDataReportDto);
List<MarkingSceneDataVo> sceneDataList(MarkingCouponDataReportDto markingCouponDataReportDto);

List<MarkingSceneDataReportVo> sceneDataJoinCouponOrderList(HashMap<String,Object> params);



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

@@ -204,7 +204,7 @@
order by xTime desc
</select>

<select id="sceneDataList" resultType="com.iformall.domain.vo.MarkingSceneDataVo" parameterType="hashmap">
<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">


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

@@ -719,7 +719,7 @@
</foreach>) c on c.id = ci.coupon_id
left join wx_card_spend wcs on wcs.card_id = ci.id
where c.type = 100
and wcs.create_date between #{startdate} and #{enddate}
and wcs.create_date between #{wxCoupon.startdate} and #{wxCoupon.enddate}
group by xtime
</select>



Loading…
Cancel
Save