Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-rpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-rpc
Commits
a9634e91
Commit
a9634e91
authored
Oct 30, 2020
by
fuyunnan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
1a574201
beb1252a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
6 deletions
+43
-6
SubOrderServiceInterface.php
src/Service/Interfaces/Order/SubOrderServiceInterface.php
+25
-5
ProductionServiceInterface.php
...vice/Interfaces/Production/ProductionServiceInterface.php
+18
-1
No files found.
src/Service/Interfaces/Order/SubOrderServiceInterface.php
View file @
a9634e91
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
* Date: 2020/9/1
* Date: 2020/9/1
* Time: 10:09
* Time: 10:09
*/
*/
namespace
Meibuyu\Micro\Service\Interfaces\Order
;
namespace
Meibuyu\Micro\Service\Interfaces\Order
;
interface
SubOrderServiceInterface
interface
SubOrderServiceInterface
...
@@ -12,11 +13,11 @@ interface SubOrderServiceInterface
...
@@ -12,11 +13,11 @@ interface SubOrderServiceInterface
/**
/**
* @param int $id
* @param int $id
* @param array $column
需要查询的字段
* @param array $column 需要查询的字段
* @param array $relation 需要的子订单关联关系可传入['order','order_product']
* @param array $relation 需要的子订单关联关系可传入['order','order_product']
* @return array | null
* @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,39 @@ interface SubOrderServiceInterface
...
@@ -25,20 +26,39 @@ interface SubOrderServiceInterface
* @param array $relation 需要的关联关系可传入['order','order_product']
* @param array $relation 需要的关联关系可传入['order','order_product']
* @return array | null
* @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 array $idList 需要改变发货状态的子订单ID数组
* @param int $status 需要改变的发货状态ID 1 待发货 2 已发货 3 已签收 4 已取消
* @param int $status 需要改变的发货状态ID 1 待发货 2 已发货 3 已签收 4 已取消
* @return bool
* @return bool
*/
*/
public
function
updateSubOrderShipStatus
(
array
$idList
,
int
$status
)
:
bool
;
public
function
updateSubOrderShipStatus
(
array
$idList
,
int
$status
)
:
bool
;
/**
/**
* 需要改变的子订单id
* 需要改变的子订单id
* @param int $id
* @param int $id
* @return bool
* @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
;
/**
*
* @param array $source 来源单号数组
* @return array
*/
public
function
getBySourceSite
(
$source
)
:
array
;
}
}
\ No newline at end of file
src/Service/Interfaces/Production/ProductionServiceInterface.php
View file @
a9634e91
...
@@ -8,10 +8,19 @@ interface ProductionServiceInterface
...
@@ -8,10 +8,19 @@ interface ProductionServiceInterface
/**
/**
* 结束备货计划
* 结束备货计划
* @param $production_no
* @param $production_no
* @return mixed
* @return mixed|void
* @deprecated
* @author Zero
*/
*/
public
function
stockUpTask
(
$production_no
);
public
function
stockUpTask
(
$production_no
);
/**
* 生产单批次发货入库回调
* @param string $production_no 生产单号
* @author Zero
*/
public
function
warehousingCallback
(
string
$production_no
);
/**
/**
* 通过入库单id获取相关数据
* 通过入库单id获取相关数据
* @param array $warehousingOrderIds 默认去重
* @param array $warehousingOrderIds 默认去重
...
@@ -19,6 +28,14 @@ interface ProductionServiceInterface
...
@@ -19,6 +28,14 @@ interface ProductionServiceInterface
*/
*/
public
function
getInfoForWarehousingOrder
(
array
$warehousingOrderIds
);
public
function
getInfoForWarehousingOrder
(
array
$warehousingOrderIds
);
/**
* 通过生产单号获取生产单工厂信息
* @param array $productionNoList 生产单号数组,默认去重
* @return array 'production_no' => ['factory_id' => 1, 'factory_name' => 'AL']
* @author Zero
*/
public
function
getFactoryByProductionNoList
(
array
$productionNoList
)
:
array
;
/**
/**
* 查询备货计划中是否用过仓库子产品
* 查询备货计划中是否用过仓库子产品
* @param array $ids 仓库子产品id数组,默认去重
* @param array $ids 仓库子产品id数组,默认去重
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment