Commit 39394e77 by dzhang

指定时间(段)查询店铺交易统计

parent ee8d6401
...@@ -28,6 +28,7 @@ use Swoft\Core\ResultInterface; ...@@ -28,6 +28,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferOrderCount(int $storeId,int $orderType,array $itemIds) * @method ResultInterface deferOrderCount(int $storeId,int $orderType,array $itemIds)
* @method ResultInterface deferAddShopsDailyStatistic(int $storeId,int $pId) * @method ResultInterface deferAddShopsDailyStatistic(int $storeId,int $pId)
* @method ResultInterface deferGetShopStatistic(int $storeId) * @method ResultInterface deferGetShopStatistic(int $storeId)
* @method ResultInterface deferGetShopDailyStatistic(int $storeId,int $startDate,int $endDate)
*/ */
interface OrderInterface interface OrderInterface
{ {
...@@ -184,4 +185,15 @@ interface OrderInterface ...@@ -184,4 +185,15 @@ interface OrderInterface
* @return array * @return array
*/ */
public function getShopStatistic(int $storeId); public function getShopStatistic(int $storeId);
/**
* 指定时间(段)查询店铺交易统计
*
*
* @param integer $storeId
* @param integer $startDate
* @param integer $endDate
* @return array
*/
public function getShopDailyStatistic(int $storeId,int $startDate,int $endDate);
} }
\ 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