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
0e504ea5
Commit
0e504ea5
authored
Jun 18, 2020
by
DESKTOP-PVAUUNL\Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.huaperfect.com:hwq/micro
parents
b2e1726b
cd5f9536
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
27 deletions
+6
-27
MaterialServiceInterface.php
src/Service/Interfaces/Product/MaterialServiceInterface.php
+6
-6
StoreServiceInterface.php
src/Service/Interfaces/StoreServiceInterface.php
+0
-21
No files found.
src/Service/Interfaces/MaterialServiceInterface.php
→
src/Service/Interfaces/
Product/
MaterialServiceInterface.php
View file @
0e504ea5
...
...
@@ -6,7 +6,7 @@
* Time: 15:07
*/
namespace
Meibuyu\Micro\Service\Interfaces
;
namespace
Meibuyu\Micro\Service\Interfaces
\Product
;
interface
MaterialServiceInterface
{
...
...
@@ -21,18 +21,18 @@ interface MaterialServiceInterface
/**
* 通过id列表获取原料数组
* @param array $idList 原料id的列表
* @param array $idList 原料id的列表
, 默认去重
* @param array $columns 原料表的字段,默认显示全部
* @return array
* @return array
默认keyBy('id')
*/
public
function
getByIdList
(
array
$idList
,
array
$columns
=
[
'*'
])
:
array
;
/**
* 通过内部code列表获取原料列表
* @param array $codeList
* @param array $codeList
默认去重
* @param array $columns
* @return array
* @return array
默认keyBy('internal_code')
*/
public
function
get
List
ByCodeList
(
array
$codeList
,
array
$columns
=
[
'id'
]);
public
function
getByCodeList
(
array
$codeList
,
array
$columns
=
[
'id'
]);
}
src/Service/Interfaces/StoreServiceInterface.php
View file @
0e504ea5
...
...
@@ -10,25 +10,4 @@ namespace Meibuyu\Micro\Service\Interfaces;
interface
StoreServiceInterface
{
/**
* description:检查仓库是否存在库存
* author: fuyunnan
* @param int $warehouseId 仓库id
* @param array $productIds 子产品id数组
* Date: 2020/6/12
* @return array
*/
public
function
checkStock
(
$warehouseId
,
$productIds
)
:
array
;
/**
* description:获取物流商列表信息
* author: fuyunnan
* @param array $idList
* @param array $columns
* Date: 2020/6/13
* @return array
*/
public
function
listLogistics
(
array
$idList
,
array
$columns
=
[
'*'
])
:
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