diff --git a/framework/src/main/java/cn/lili/modules/statistics/mapper/StoreFlowStatisticsMapper.java b/framework/src/main/java/cn/lili/modules/statistics/mapper/StoreFlowStatisticsMapper.java index 8d99332f..cd793293 100644 --- a/framework/src/main/java/cn/lili/modules/statistics/mapper/StoreFlowStatisticsMapper.java +++ b/framework/src/main/java/cn/lili/modules/statistics/mapper/StoreFlowStatisticsMapper.java @@ -63,7 +63,7 @@ public interface StoreFlowStatisticsMapper extends BaseMapper { @Select("SELECT count(0) AS num FROM (SELECT count(0) FROM li_store_flow " + " where store_id = #{storeId} and flow_type='PAY' and create_time >=#{startTime} and create_time < #{endTime}" + " GROUP BY member_id) t") - Long countPayers(String storeId, Date startTime, Date endTime); + Long countPayers(@Param("storeId") String storeId, @Param("startTime") Date startTime, @Param("endTime") Date endTime); /** * 统计付款人数 @@ -75,7 +75,7 @@ public interface StoreFlowStatisticsMapper extends BaseMapper { @Select("SELECT count(0) AS num FROM (SELECT count(0) FROM li_store_flow " + " where flow_type='PAY' and create_time >=#{startTime} and create_time < #{endTime}" + " GROUP BY member_id) t") - Long countPayers(Date startTime, Date endTime); + Long countPayers(@Param("startTime") Date startTime, @Param("endTime") Date endTime); } \ No newline at end of file