Commit 74f5476d authored by fuyunnan's avatar fuyunnan

Merge branch 'dev' into test

parents 74265fc8 927c814a
......@@ -5,6 +5,7 @@
* Date: 2020/9/1
* Time: 10:09
*/
namespace Meibuyu\Micro\Service\Interfaces\Order;
interface SubOrderServiceInterface
......@@ -12,11 +13,11 @@ interface SubOrderServiceInterface
/**
* @param int $id
* @param array $column 需要查询的字段
* @param array $column 需要查询的字段
* @param array $relation 需要的子订单关联关系可传入['order','order_product']
* @return array | null
*/
public function getById(int $id, array $column=['*'],array $relation = []):array;
public function getById(int $id, array $column = ['*'], array $relation = []): array;
/**
*
......@@ -25,20 +26,30 @@ interface SubOrderServiceInterface
* @param array $relation 需要的关联关系可传入['order','order_product']
* @return array | null
*/
public function getByIdList(array $idList,array $column=['*'],array $relation = []):array ;
public function getByIdList(array $idList, array $column = ['*'], array $relation = []): array;
/**
* @param array $idList 需要改变发货状态的子订单ID数组
* @param int $status 需要改变的发货状态ID 1 待发货 2 已发货 3 已签收 4 已取消
* @return bool
*/
public function updateSubOrderShipStatus(array $idList, int $status):bool;
public function updateSubOrderShipStatus(array $idList, int $status): bool;
/**
* 需要改变的子订单id
* @param int $id
* @return bool
*/
public function StockIntoUpdateSubOrderStatus(int $id):bool;
public function StockIntoUpdateSubOrderStatus(int $id): bool;
/**
* description:通过来源单号获取生产工厂
* author: fuyunnan
* @param
* @return array
* @throws
* Date: 2020/10/29
*/
public function getBySourcesFactory($sources): array;
}
\ 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