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
b7bca443
Commit
b7bca443
authored
Jul 06, 2020
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断产品是否绑定原料品名
parent
7fb1a15c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
MaterialServiceInterface.php
src/Service/Interfaces/Product/MaterialServiceInterface.php
+9
-2
No files found.
src/Service/Interfaces/Product/MaterialServiceInterface.php
View file @
b7bca443
...
@@ -51,9 +51,16 @@ interface MaterialServiceInterface
...
@@ -51,9 +51,16 @@ interface MaterialServiceInterface
public
function
getMaterialNamesByCategoryId
(
$categoryId
);
public
function
getMaterialNamesByCategoryId
(
$categoryId
);
/**
/**
*
获取产品判断的
原料品名
*
判断产品是否绑定
原料品名
* @param $productId
* @param $productId
* @return array
* @return bool
*/
public
function
hasProductMaterialNames
(
$productId
)
:
bool
;
/**
* 获取产品绑定的原料品名
* @param $productId
* @return array keyBy('id')
*/
*/
public
function
getProductMaterialNames
(
$productId
);
public
function
getProductMaterialNames
(
$productId
);
...
...
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