Skip to content

Commit

Permalink
参数无法识别问题处理
Browse files Browse the repository at this point in the history
  • Loading branch information
chopper711 committed Sep 2, 2022
1 parent 9517f0e commit 37cfcde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public interface StoreFlowStatisticsMapper extends BaseMapper<StoreFlow> {
@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);

/**
* 统计付款人数
Expand All @@ -75,7 +75,7 @@ public interface StoreFlowStatisticsMapper extends BaseMapper<StoreFlow> {
@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);


}

0 comments on commit 37cfcde

Please sign in to comment.