Commit 3a751955 by 王召彬

解决冲突

parents 71f36bc3 dea2d985
...@@ -29,6 +29,8 @@ use Swoft\Core\ResultInterface; ...@@ -29,6 +29,8 @@ 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)
* @method ResultInterface deferOrderCountByCondition(int $storeId,array $condition)
*/ */
interface OrderInterface interface OrderInterface
{ {
...@@ -190,11 +192,27 @@ interface OrderInterface ...@@ -190,11 +192,27 @@ 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);
/**
* 根据条件查询店铺订单数量(子订单数量)
*
* @param integer $storeId
* @param array $condition
* @return int
*/
public function orderCountByCondition(int $storeId,array $condition);
} }
\ 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