Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
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
1
Merge Requests
1
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-micro
Commits
927c814a
Commit
927c814a
authored
Oct 29, 2020
by
fuyunnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单系统rpc
parent
4724b2bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
SubOrderServiceInterface.php
src/Service/Interfaces/Order/SubOrderServiceInterface.php
+16
-5
No files found.
src/Service/Interfaces/Order/SubOrderServiceInterface.php
View file @
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
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