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
e081cb06
Commit
e081cb06
authored
Aug 13, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页剔除下架的商品
parent
f47cf404
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
ch-dao/src/main/java/com/wwdz/ch/db/impl/distribution/SupplierItemDaoImpl.java
...com/wwdz/ch/db/impl/distribution/SupplierItemDaoImpl.java
+1
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
...wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
+1
-0
No files found.
ch-dao/src/main/java/com/wwdz/ch/db/impl/distribution/SupplierItemDaoImpl.java
View file @
e081cb06
...
...
@@ -134,6 +134,7 @@ public class SupplierItemDaoImpl implements SupplierItemDao {
criteria
.
andTypeIn
(
dto
.
getTypeList
());
criteria
.
andStockGreaterThan
(
0
);
criteria
.
andIsDeletedEqualTo
(
false
);
criteria
.
andIsOnSaleEqualTo
(
true
);
JdbcHelper
.
ifPresent
(
dto
.
getFilterIds
(),
criteria:
:
andIdNotIn
);
// criteria.andIsOnSaleEqualTo(true);
if
(!
CollectionUtils
.
isEmpty
(
dto
.
getIds
()))
{
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
View file @
e081cb06
...
...
@@ -1149,6 +1149,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
}
//大于200元的商品展示
searchDto
.
setGreaterThanPrice
(
20000L
);
searchDto
.
setIsOnSale
(
true
);
// searchDto.setCreatorIdList(distinctCollectorIds);
searchDto
.
setStock
(
0
);
//库存大于0
searchDto
.
setIsDeleted
(
false
);
...
...
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