台桌数统计
This commit is contained in:
@@ -82,7 +82,7 @@ public interface ShopOrderStatisticMapper extends BaseMapper<ShopOrderStatistic>
|
|||||||
" shop_id = #{shopId} " +
|
" shop_id = #{shopId} " +
|
||||||
"and trade_day = #{tradeDay} " +
|
"and trade_day = #{tradeDay} " +
|
||||||
"and paid_time is not null " +
|
"and paid_time is not null " +
|
||||||
"GROUP BY trade_day desc")
|
"GROUP BY trade_day")
|
||||||
TotalVo getOnlineDataAmount(Long shopId, LocalDate tradeDay);
|
TotalVo getOnlineDataAmount(Long shopId, LocalDate tradeDay);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -240,7 +240,7 @@ public interface ShopOrderStatisticMapper extends BaseMapper<ShopOrderStatistic>
|
|||||||
/**
|
/**
|
||||||
* 统计店铺桌台数 tableCount
|
* 统计店铺桌台数 tableCount
|
||||||
*/
|
*/
|
||||||
@Select("SELECT count(*) FROM tb_order_info WHERE shop_id = #{shopId} and status != 'unbound'")
|
@Select("SELECT count(*) FROM tb_shop_table WHERE shop_id = #{shopId} and status != 'unbound'")
|
||||||
Long countShopTable(Long shopId);
|
Long countShopTable(Long shopId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user