Commit 4e7397f2 by 王召彬

Merge branch 'ft-0616'

parents 89ab3e62 041c3a43
...@@ -275,4 +275,30 @@ interface OrderInterface ...@@ -275,4 +275,30 @@ interface OrderInterface
*/ */
public function getSummaryTitles(int $storeId, array $subOrderIds, array $mainOrderIds=[]); public function getSummaryTitles(int $storeId, array $subOrderIds, array $mainOrderIds=[]);
/**
* 用于其他服务在没有订单的情况下,添加核销记录
*
* @param integer $storeId
* @param integer $cmanId 核销的店员id
* @param integer $amount 核销的金额
* @param integer $payOrigin 参加枚举 PayOriginEnum::CARD
* @param integer $orderClass 参加枚举类 OrderEnum::CLASS_PHYSICAL
* @param array $goodsInfo 示例:['goodsId':333, 'name':'酷酷酷', 'image':'xxxxxx']
* @return void
*/
public function addDeliverdLog(int $storeId, int $cmanId, int $amount, int $payOrigin, int $orderClass, array $goodsInfo);
/**
* 根据商品id和核销数量添加核销记录
*
* @param integer $storeId
* @param integer $cmanId 核销的店员id
* @param integer $payOrigin 参加枚举 PayOriginEnum::CARD
* @param array $goodsNums 核销的商品数量 [['id':0, 'num':1, 'name':'划卡', 'amout':56], ['id':45, 'num':2, 'name':'', 'amout':0]]
* @return bool
*/
public function addDeliverdLogByGoods(int $storeId, int $cmanId, int $payOrigin, array $goodsNums);
} }
\ 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