Commit e7f14bf2 by dzhang

Merge branch 'ft-insurance'

parents 7f6ce689 677ea756
...@@ -32,6 +32,7 @@ use Swoft\Core\ResultInterface; ...@@ -32,6 +32,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetShopNewOrderNum(int $storeId) * @method ResultInterface deferGetShopNewOrderNum(int $storeId)
* @method ResultInterface deferOrderCountByCondition(int $storeId,array $condition) * @method ResultInterface deferOrderCountByCondition(int $storeId,array $condition)
* @method ResultInterface deferBuyerSpendAmount(int $storeId,int $buyerId) * @method ResultInterface deferBuyerSpendAmount(int $storeId,int $buyerId)
* @method ResultInterface deferBanchGetShopStByDate(array $storeIds,int $date)
*/ */
interface OrderInterface interface OrderInterface
{ {
...@@ -227,4 +228,21 @@ interface OrderInterface ...@@ -227,4 +228,21 @@ interface OrderInterface
* @return int * @return int
*/ */
public function buyerSpendAmount(int $storeId,int $buyerId); public function buyerSpendAmount(int $storeId,int $buyerId);
/**
* 批量查询指定日期及店铺的交易统计数据
*
* @param array $storeIds
* @param integer $date
* @return array
* [
* [
* 'storeId' => 11,//店铺ID
* 'buyerNum' => 0,//买家数
* 'orderNum' => 0,//订单数
* 'orderAmount' => 0//营业金额
* ]
* ]
*/
public function banchGetShopStByDate(array $storeIds,int $date);
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment