Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
b0eaf250
Commit
b0eaf250
authored
Apr 26, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
藏家权限3
parent
e3cde1d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/SysSupplierItemServiceImpl.java
...va/com/wwdz/ch/admin/impl/SysSupplierItemServiceImpl.java
+1
-1
No files found.
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/SysSupplierItemServiceImpl.java
View file @
b0eaf250
...
@@ -178,7 +178,7 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
...
@@ -178,7 +178,7 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
//售出数量
//售出数量
Long
selledNum
=
distributionOrderDao
.
countSelledNum
(
supplierItem
.
getId
());
Long
selledNum
=
distributionOrderDao
.
countSelledNum
(
supplierItem
.
getId
());
supplierItemVo
.
setSelledNum
(
selledNum
==
null
?
0
:
selledNum
);
supplierItemVo
.
setSelledNum
(
selledNum
==
null
?
0
:
selledNum
);
if
(
dto
.
getType
()
.
intValu
e
()
==
DistributionEnum
.
DistributionTypeEnum
.
COLLECT
.
getCode
())
{
if
(
dto
.
getType
()
!=
null
&&
dto
.
getTyp
e
()
==
DistributionEnum
.
DistributionTypeEnum
.
COLLECT
.
getCode
())
{
if
(
supplierItem
.
getStock
()
==
0
)
{
if
(
supplierItem
.
getStock
()
==
0
)
{
//库存为0,标识是可售的商品售罄了
//库存为0,标识是可售的商品售罄了
supplierItemVo
.
setIsAbleSale
(
true
);
supplierItemVo
.
setIsAbleSale
(
true
);
...
...
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