Commit 528592c7 authored by 王源's avatar 王源 🎧

调整生产单批次发货入库回调rpc方法

parent b6a8c609
...@@ -2,24 +2,27 @@ ...@@ -2,24 +2,27 @@
namespace Meibuyu\Micro\Service\Interfaces\Production; namespace Meibuyu\Micro\Service\Interfaces\Production;
use Meibuyu\Micro\Exceptions\HttpResponseException;
interface ProductionServiceInterface interface ProductionServiceInterface
{ {
/**
* 结束备货计划
* @param $production_no
* @return mixed|void
* @deprecated
* @author Zero
*/
public function stockUpTask($production_no);
/** /**
* 生产单批次发货入库回调 * 生产单批次发货入库回调
* @param string $production_no 生产单号 * @param array $params
* [
* 'production_no' => 'SC20201218-001-001', // 生产单号,必须
* 'auth' => Auth::user(), // 当前用户,必须
* 'warehousing_order' => [
* 'id' => '123', // 入库单id,必须
* 'warehousing_no' => 'RK-20200727-001', // 入库单号,必须
* 'count' => '123', // 入库数量, 必须
* ]
* ]
* @throws HttpResponseException
* @author Zero * @author Zero
*/ */
public function warehousingCallback(string $production_no); public function warehousingCallback(array $params);
/** /**
* 通过入库单id获取相关数据 * 通过入库单id获取相关数据
......
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