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
5cfffe01
Commit
5cfffe01
authored
Aug 22, 2022
by
Liu lu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://git.huaperfect.com/without_auth/meibuyu-rpc
into develop
parents
532e7635
f2f87e02
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
2 deletions
+54
-2
FactoryServiceInterface.php
...ice/Interfaces/OutsideFactory/FactoryServiceInterface.php
+16
-0
ProductServiceInterface.php
src/Service/Interfaces/Product/ProductServiceInterface.php
+21
-0
ProductionOrderServiceInterface.php
...Interfaces/Production/ProductionOrderServiceInterface.php
+15
-0
ChannelAndCompanyInterface.php
src/Service/Interfaces/Wms/ChannelAndCompanyInterface.php
+2
-2
No files found.
src/Service/Interfaces/OutsideFactory/FactoryServiceInterface.php
View file @
5cfffe01
...
@@ -14,4 +14,20 @@ interface FactoryServiceInterface
...
@@ -14,4 +14,20 @@ interface FactoryServiceInterface
* @return String
* @return String
*/
*/
public
function
productCraftPrint
(
$craftInfo
)
;
public
function
productCraftPrint
(
$craftInfo
)
;
/**
* 获取对应的工厂信息
* @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
=
[
'*'
]);
}
}
\ No newline at end of file
src/Service/Interfaces/Product/ProductServiceInterface.php
View file @
5cfffe01
...
@@ -247,4 +247,25 @@ interface ProductServiceInterface
...
@@ -247,4 +247,25 @@ interface ProductServiceInterface
*/
*/
public
function
getCraftByProductIds
(
array
$productIds
);
public
function
getCraftByProductIds
(
array
$productIds
);
/**
* 获取产品数据
* @param array $where
* @param array $select
* @param array|null $limitIds
* @return array
* @author chentianyu
*/
public
function
getProductsByWhere
(
array
$where
,
array
$select
=
[
'id'
],
array
$limitIds
=
null
)
:
array
;
/**
* 获取报关品名
* @param array $where
* @param array $select
* @param array|null $limitIds
* @return array
* @author chentianyu
*/
public
function
getProductNamesByWhere
(
array
$where
,
array
$select
=
[
'id'
],
array
$limitIds
=
null
)
:
array
;
}
}
src/Service/Interfaces/Production/ProductionOrderServiceInterface.php
0 → 100644
View file @
5cfffe01
<?php
namespace
Meibuyu\Rpc\Service\Interfaces\Production
;
interface
ProductionOrderServiceInterface
{
/**
* 根据对应的筛选条件获取对应的生产单相关信息
* @param array $filters
* @return mixed
*/
public
function
getProductionOrderByFilter
(
array
$filters
,
$columns
=
[
'*'
],
$with
=
[]);
}
src/Service/Interfaces/Wms/ChannelAndCompanyInterface.php
View file @
5cfffe01
...
@@ -15,7 +15,7 @@ interface ChannelAndCompanyInterface
...
@@ -15,7 +15,7 @@ interface ChannelAndCompanyInterface
* @param array $channelIds $channelIds:渠道id数组, 格式:[1,3,5]
* @param array $channelIds $channelIds:渠道id数组, 格式:[1,3,5]
* @return array
* @return array
*/
*/
public
function
getChannelByIds
(
array
$channelIds
)
:
array
;
public
function
getChannelByIds
(
array
$channelIds
,
$status
=
1
)
:
array
;
/**
/**
* 通过公司id获取公司信息
* 通过公司id获取公司信息
...
@@ -27,5 +27,5 @@ interface ChannelAndCompanyInterface
...
@@ -27,5 +27,5 @@ interface ChannelAndCompanyInterface
*
*
* @return array
* @return array
*/
*/
public
function
getCompanyByIds
(
array
$companyIds
)
:
array
;
public
function
getCompanyByIds
(
array
$companyIds
,
$status
=
1
)
:
array
;
}
}
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