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
12d90302
Commit
12d90302
authored
Dec 12, 2020
by
fuyunnan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-not-warehouse' into test
parents
1d33aeeb
15ab7066
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
StoreServiceInterface.php
src/Service/Interfaces/StoreServiceInterface.php
+20
-0
No files found.
src/Service/Interfaces/StoreServiceInterface.php
View file @
12d90302
...
@@ -174,6 +174,26 @@ interface StoreServiceInterface
...
@@ -174,6 +174,26 @@ interface StoreServiceInterface
*/
*/
public
function
getListStock
(
$ids
,
$wareId
=
0
,
$notWareId
=
[])
:
array
;
public
function
getListStock
(
$ids
,
$wareId
=
0
,
$notWareId
=
[])
:
array
;
/**
* description:根据筛选条件获取仓库的库存列表 对库存筛选实现大一统
* 参数格式 不需要可不传入对应的键
* $args['inTeamIds'] =[];
$args['notInTeamIds'] = [];
$args['inWhIds'] = []; //仓库id
$args['notInWhIds'] = [];
$args['inProductIds'] = [];
$args['notInProductIds'] = [];
$args['where'] = [];
$args['group'] = ['product_id'];//默认['product_id']
$args['keyBy'] = 'product_id';//默认排序
*
* author: fuyunnan
* @param array $condition 筛选条件
* @return array
* @throws
* Date: 2020/7/27
*/
public
function
getListStockWhere
(
$condition
)
:
array
;
/**
/**
* description:检查是否有库存,有就返回库存数量(有记录) 给产品系统使用
* description:检查是否有库存,有就返回库存数量(有记录) 给产品系统使用
...
...
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