参数无法识别问题处理
This commit is contained in:
parent
9517f0eedf
commit
37cfcde476
@ -63,7 +63,7 @@ public interface StoreFlowStatisticsMapper extends BaseMapper<StoreFlow> {
|
|||||||
@Select("SELECT count(0) AS num FROM (SELECT count(0) FROM li_store_flow " +
|
@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}" +
|
" where store_id = #{storeId} and flow_type='PAY' and create_time >=#{startTime} and create_time < #{endTime}" +
|
||||||
" GROUP BY member_id) t")
|
" 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<StoreFlow> {
|
|||||||
@Select("SELECT count(0) AS num FROM (SELECT count(0) FROM li_store_flow " +
|
@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}" +
|
" where flow_type='PAY' and create_time >=#{startTime} and create_time < #{endTime}" +
|
||||||
" GROUP BY member_id) t")
|
" GROUP BY member_id) t")
|
||||||
Long countPayers(Date startTime, Date endTime);
|
Long countPayers(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user