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
b32a4a0e
Commit
b32a4a0e
authored
Jun 17, 2020
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化原料rpc接口,添加命名空间
parent
b81cd596
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
MaterialServiceInterface.php
src/Service/Interfaces/Product/MaterialServiceInterface.php
+6
-6
No files found.
src/Service/Interfaces/MaterialServiceInterface.php
→
src/Service/Interfaces/
Product/
MaterialServiceInterface.php
View file @
b32a4a0e
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* Time: 15:07
* Time: 15:07
*/
*/
namespace
Meibuyu\Micro\Service\Interfaces
;
namespace
Meibuyu\Micro\Service\Interfaces
\Product
;
interface
MaterialServiceInterface
interface
MaterialServiceInterface
{
{
...
@@ -21,18 +21,18 @@ interface MaterialServiceInterface
...
@@ -21,18 +21,18 @@ interface MaterialServiceInterface
/**
/**
* 通过id列表获取原料数组
* 通过id列表获取原料数组
* @param array $idList 原料id的列表
* @param array $idList 原料id的列表
, 默认去重
* @param array $columns 原料表的字段,默认显示全部
* @param array $columns 原料表的字段,默认显示全部
* @return array
* @return array
默认keyBy('id')
*/
*/
public
function
getByIdList
(
array
$idList
,
array
$columns
=
[
'*'
])
:
array
;
public
function
getByIdList
(
array
$idList
,
array
$columns
=
[
'*'
])
:
array
;
/**
/**
* 通过内部code列表获取原料列表
* 通过内部code列表获取原料列表
* @param array $codeList
* @param array $codeList
默认去重
* @param array $columns
* @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'
]);
}
}
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