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
df1406b9
Commit
df1406b9
authored
Sep 05, 2020
by
zhaopeng343
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销售报表、子订单RPC
parent
c8405500
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
0 deletions
+57
-0
OtherDatumServiceInterface.php
...erfaces/BusinessSaleReport/OtherDatumServiceInterface.php
+19
-0
SubOrderServiceInterface.php
src/Service/Interfaces/Order/SubOrderServiceInterface.php
+38
-0
No files found.
src/Service/Interfaces/BusinessSaleReport/OtherDatumServiceInterface.php
0 → 100644
View file @
df1406b9
<?php
/**
* Created by PhpStorm.
* User: zhaopeng
* Date: 2020/9/5
* Time: 10:09
*/
namespace
Meibuyu\Micro\Service\Interfaces\BusinessSaleReport
;
interface
OtherDatumServiceInterface
{
/**
* 获取销售报表其他数据
* @param array $conditions 必传条件 site_id team_id start_time end_time
* @return mixed
*/
public
function
getBusinessSaleOtherDatum
(
array
$conditions
);
}
\ No newline at end of file
src/Service/Interfaces/Order/SubOrderServiceInterface.php
0 → 100644
View file @
df1406b9
<?php
/**
* Created by PhpStorm.
* User: zhaopeng
* Date: 2020/9/1
* Time: 10:09
*/
namespace
Meibuyu\Micro\Service\Interfaces\Order
;
interface
SubOrderServiceInterface
{
/**
* @param int $id
* @param array $column 需要查询的字段
* @param array $relation 需要的子订单关联关系可传入['order','order_product']
* @return array | null
*/
public
function
getById
(
int
$id
,
array
$column
=
[
'*'
],
array
$relation
=
[])
:
array
;
/**
*
* @param array $idList 子订单的ID 数组[1,2,3]
* @param array $column 需要查询字段
* @param array $relation 需要的关联关系可传入['order','order_product']
* @return array | null
*/
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
;
}
\ 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