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
bd7d5de7
Commit
bd7d5de7
authored
Jul 24, 2025
by
zhangdongying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增RPC
parent
5888139f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
ProductServiceInterface.php
src/Service/Interfaces/Product/ProductServiceInterface.php
+12
-3
No files found.
src/Service/Interfaces/Product/ProductServiceInterface.php
View file @
bd7d5de7
...
...
@@ -516,11 +516,20 @@ interface ProductServiceInterface
public
function
getSize
(
$sizeIds
,
array
$columns
=
[
'id'
,
'name'
]);
/**
*
是否产品
维护了所有生产信息
*
校验产品是否
维护了所有生产信息
*
* @param int $productId 仓库主产品ID
* @param array $childProductIds 仓库子产品ID
* @param array $childProductIds 仓库子产品ID,为空表示所有产品
* @param bool $isCheckMaterial 是否校验原料是否维护
* @return bool
*/
public
function
checkAllProductionInfoByProduct
(
int
$productId
,
array
$childProductIds
=
[])
:
bool
;
public
function
checkAllProductionInfoByProduct
(
int
$productId
,
array
$childProductIds
=
[],
bool
$isCheckMaterial
=
true
)
:
bool
;
/**
* 校验仓库子产品是否维护了原料
*
* @param array $childProductIds 仓库子产品ID
* @return array
*/
public
function
checkMaterialByChildProducts
(
array
$childProductIds
)
:
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