Commit 0fc0d000 by dzhang

商品、活动成交量统计

parent c4f4e5e5
......@@ -25,6 +25,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferUpdateMainOrderByPid(int $storeId,int $pId,array $mainData,array $subData=[])
* @method ResultInterface deferUnconfirmedCount(int $storeId)
* @method ResultInterface deferGetSubOrderListBySubIds(int $storeId,array $subIds)
* @method ResultInterface deferOrderCount(int $storeId,int $orderType,array $itemIds)
*/
interface OrderInterface
{
......@@ -154,4 +155,14 @@ interface OrderInterface
* @return array
*/
public function getSubOrderListBySubIds(int $storeId,array $subIds);
/**
* 商品、活动成交量统计
*
* @param integer $storeId
* @param integer $orderType 订单类型(参考OrderEnum::ORDER_TYPES枚举)
* @param array $itemIds
* @return array
*/
public function orderCount(int $storeId,int $orderType,array $itemIds);
}
\ 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