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
396d846f
Commit
396d846f
authored
Jul 30, 2020
by
fuyunnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加仓库的库存添加修改和库存列表接口
parent
f9f52694
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
StoreServiceInterface.php
src/Service/Interfaces/StoreServiceInterface.php
+23
-0
No files found.
src/Service/Interfaces/StoreServiceInterface.php
View file @
396d846f
...
@@ -99,4 +99,27 @@ interface StoreServiceInterface
...
@@ -99,4 +99,27 @@ interface StoreServiceInterface
*/
*/
public
function
updateListQualityStatus
(
$orderIds
,
$update
)
:
int
;
public
function
updateListQualityStatus
(
$orderIds
,
$update
)
:
int
;
/**
* description:通过产品id数组获取库存列表
* author: fuyunnan
* @param array $ids 产品ids 数组
* @param int $wareId 仓库id
* @return array
* @throws
* Date: 2020/7/27
*/
public
function
getListStock
(
$ids
,
$wareId
=
0
)
:
array
;
/**
* description:修改产品的库存
* author: fuyunnan
* @param array $where 筛选条件 ['product_id'=>1,'warehouse_id'=>1] 必须传
* @param array $update 修改内容数组 ['cnt'=>1] 修改库存数量
* @return int
* @throws
* Date: 2020/7/27
*/
public
function
updateOrInsertStock
(
$where
,
$update
)
:
int
;
}
}
\ No newline at end of file
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