|
|
@@ -2,10 +2,7 @@ package com.simple.mapper; |
|
|
|
|
|
|
|
|
import java.util.*; |
|
|
import java.util.*; |
|
|
import com.simple.common.CommonMapper; |
|
|
import com.simple.common.CommonMapper; |
|
|
import com.simple.domain.vo.MarkingCouponDataReportVo; |
|
|
|
|
|
import com.simple.domain.vo.TouchUsersReportVo; |
|
|
|
|
|
import com.simple.domain.vo.WxCouponOrderBVo; |
|
|
|
|
|
import com.simple.domain.vo.WxCouponOrderCVo; |
|
|
|
|
|
|
|
|
import com.simple.domain.vo.*; |
|
|
import org.apache.ibatis.annotations.Param; |
|
|
import org.apache.ibatis.annotations.Param; |
|
|
import com.simple.domain.po.WxCouponOrder; |
|
|
import com.simple.domain.po.WxCouponOrder; |
|
|
|
|
|
|
|
|
@@ -43,4 +40,22 @@ public interface WxCouponOrderMapper extends CommonMapper<WxCouponOrder, Long> { |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
int findCountByDateLimit(@Param("tenantId")String tenantId,@Param("startTime") Date startTime,@Param("endTime")Date endTime); |
|
|
int findCountByDateLimit(@Param("tenantId")String tenantId,@Param("startTime") Date startTime,@Param("endTime")Date endTime); |
|
|
|
|
|
/** |
|
|
|
|
|
* 日期分组 消费总数 |
|
|
|
|
|
* @param tenantId |
|
|
|
|
|
* @param startTime |
|
|
|
|
|
* @param endTime |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
List<CUserDateAmountVo> queryPriceTotalGroup(@Param("tenantId")String tenantId, @Param("startTime") Date startTime, @Param("endTime")Date endTime); |
|
|
|
|
|
/** |
|
|
|
|
|
* 查询时间段内消费总数 |
|
|
|
|
|
* @param tenantId |
|
|
|
|
|
* @param startTime |
|
|
|
|
|
* @param endTime |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
int queryPriceTotal(@Param("tenantId")String tenantId, @Param("startTime") Date startTime, @Param("endTime")Date endTime); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |