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
82f3cf46
Commit
82f3cf46
authored
Sep 19, 2022
by
carlos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工厂rpc接口
parent
d9f6b056
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
45 deletions
+65
-45
FactoryServiceInterface.php
...ice/Interfaces/OutsideFactory/FactoryServiceInterface.php
+65
-45
No files found.
src/Service/Interfaces/OutsideFactory/FactoryServiceInterface.php
View file @
82f3cf46
<?php
namespace
Meibuyu\Rpc\Service\Interfaces\OutsideFactory
;
interface
FactoryServiceInterface
{
/**
* 打印工艺单信息 返回导出地址
* @param $craftInfo
* @return String
*/
public
function
productCraftPrint
(
$craftInfo
)
;
/**
* 打印发货单
* @param $deliveryNo 发货单号
* @return mixed
*/
public
function
downDeliveryRecord
(
$deliveryNo
);
/**
* 获取对应的工厂信息
* @param array $factoryIds
* @param array|string[] $columns
* @return mixed
*/
public
function
getFactories
(
array
$factoryIds
=
[],
array
$columns
=
[
'*'
]);
/**
* 根据筛选条件获取对应的工厂信息
* @param array $filters 筛选条件
* @param array|string[] $columns 查询字段
* @return mixed
*/
public
function
getFactoriesByFilters
(
array
$filters
=
[],
array
$columns
=
[
'*'
]);
/**
* 生产端留言投递到工厂端订单表
* @param array $production_no 生产单号
* @return mixed
*/
public
function
toProductOrderMessage
(
array
$post
);
<?php
namespace
Meibuyu\Rpc\Service\Interfaces\OutsideFactory
;
interface
FactoryServiceInterface
{
/**
* 打印工艺单信息 返回导出地址
* @param $craftInfo
* @return String
*/
public
function
productCraftPrint
(
$craftInfo
)
;
/**
* 打印发货单
* @param $deliveryNo 发货单号
* @return mixed
*/
public
function
downDeliveryRecord
(
$deliveryNo
);
/**
* 获取对应的工厂信息
* @param array $factoryIds
* @param array|string[] $columns
* @return mixed
*/
public
function
getFactories
(
array
$factoryIds
=
[],
array
$columns
=
[
'*'
]);
/**
* 根据筛选条件获取对应的工厂信息
* @param array $filters 筛选条件
* @param array|string[] $columns 查询字段
* @return mixed
*/
public
function
getFactoriesByFilters
(
array
$filters
=
[],
array
$columns
=
[
'*'
]);
/**
* 生产端留言投递到工厂端订单表
* @param array $production_no 生产单号
* @return mixed
*/
public
function
toProductOrderMessage
(
array
$post
);
/**
* 工厂列表
* @param string $id 工厂id
* @return array $list
*/
public
function
factoryList
();
/**
* 子工厂列表
* @return array $list
*/
public
function
childFactoryList
(
$id
);
/**
* 工厂树状列表
* @return array $list
*/
public
function
treeFactoryList
();
}
\ 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