Commit 4c428cd7 by dzhang

添加查询店铺新订单数接口

parent 2f781d4d
...@@ -29,6 +29,7 @@ use Swoft\Core\ResultInterface; ...@@ -29,6 +29,7 @@ use Swoft\Core\ResultInterface;
* @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) * @method ResultInterface deferGetShopDailyStatistic(int $storeId,int $startDate,int $endDate)
* @method ResultInterface deferGetShopNewOrderNum(int $storeId)
*/ */
interface OrderInterface interface OrderInterface
{ {
...@@ -190,11 +191,18 @@ interface OrderInterface ...@@ -190,11 +191,18 @@ interface OrderInterface
/** /**
* 指定时间(段)查询店铺交易统计 * 指定时间(段)查询店铺交易统计
* *
*
* @param integer $storeId * @param integer $storeId
* @param integer $startDate * @param integer $startDate
* @param integer $endDate * @param integer $endDate
* @return array * @return array
*/ */
public function getShopDailyStatistic(int $storeId,int $startDate,int $endDate); public function getShopDailyStatistic(int $storeId,int $startDate,int $endDate);
/**
* 查询店铺新订单数
*
* @param integer $storeId
* @return int
*/
public function getShopNewOrderNum(int $storeId);
} }
\ 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