Commit 7111831a authored by Liu lu's avatar Liu lu

Merge branch 'develop' of http://git.huaperfect.com/without_auth/meibuyu-rpc into develop

parents 458e2073 c363fde5
...@@ -135,4 +135,12 @@ interface ProductChildServiceInterface ...@@ -135,4 +135,12 @@ interface ProductChildServiceInterface
*/ */
public function getByIdListNew(array $idList, array $columns = ['*'], array $relations = ['color', 'size','packs.color']); public function getByIdListNew(array $idList, array $columns = ['*'], array $relations = ['color', 'size','packs.color']);
/**
* 获取某多个产品下的所有子产品
*
* @param array $productIds 产品ID数组
* @param array $columns 列名数组
* @return array GroupBy('product_id')
*/
public function getListByProductIds(array $productIds, array $columns = ['*']): array;
} }
...@@ -56,4 +56,50 @@ interface StorePurchaseServiceInterface ...@@ -56,4 +56,50 @@ interface StorePurchaseServiceInterface
* @param $extraParams 兼容额外的场景的可选参数 * @param $extraParams 兼容额外的场景的可选参数
*/ */
public function getPurchaseQcException($batchNo, $subOrderNo, $extraParams = []); public function getPurchaseQcException($batchNo, $subOrderNo, $extraParams = []);
/**
* 子订单退货(子订单入库后退货)
*
* @param string $subOrderNo 子订单号
* @param int $returnedCnt 退货数量
* @param string $receivedBy 收货人
* @param string $contactTel 联系电话
* @param string $returnAddress 退货地址
* @param array $extra 额外参数
* @return array ['code' => 200, 'msg' => '', 'data' => ['reference_no' => '111111111']]
*/
public function returnSubOrderWarehousedGoods(string $subOrderNo, int $returnedCnt, string $receivedBy, string $contactTel, string $returnAddress, array $extra = []): array;
/**
* 子订单退货(子订单入库后取消)
*
* @param string $subOrderNo 子订单号
* @param int $returnedCnt 退货数量
* @param string $receivedBy 收货人
* @param string $contactTel 联系电话
* @param string $returnAddress 退货地址
* @param array $extra 额外参数
* @return array ['code' => 200, 'msg' => '', 'data' => ['reference_no' => '111111111']]
*/
public function returnSubOrderGoodsByCancel(string $subOrderNo, int $returnedCnt, string $receivedBy, string $contactTel, string $returnAddress, array $extra = []): array;
/**
* 更新退货信息
*
* @param string $subOrderNo 子订单号
* @param string $referenceNo 关联单号
* @param string $receivedBy 收货人
* @param string $contactTel 联系方式
* @param string $returnAddress 退货地址
* @return array
*/
public function updateReturnInfo(string $subOrderNo, string $referenceNo, string $receivedBy, string $contactTel, string $returnAddress): array;
/**
* 获取异常继续入库单号
*
* @param string $exceptionNo 异常单号
* @return array ['code' => 200, 'msg' => '', 'data' => 'RK-20231225-046']
*/
public function getExceptionWarehousingNo(string $exceptionNo): array;
} }
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