Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
4dd6376b
Commit
4dd6376b
authored
Nov 05, 2022
by
macro
Browse files
分页获取品牌关联商品逻辑修改
parent
11b48867
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/service/impl/PortalBrandServiceImpl.java
View file @
4dd6376b
...
@@ -43,6 +43,7 @@ public class PortalBrandServiceImpl implements PortalBrandService {
...
@@ -43,6 +43,7 @@ public class PortalBrandServiceImpl implements PortalBrandService {
PageHelper
.
startPage
(
pageNum
,
pageSize
);
PageHelper
.
startPage
(
pageNum
,
pageSize
);
PmsProductExample
example
=
new
PmsProductExample
();
PmsProductExample
example
=
new
PmsProductExample
();
example
.
createCriteria
().
andDeleteStatusEqualTo
(
0
)
example
.
createCriteria
().
andDeleteStatusEqualTo
(
0
)
.
andPublishStatusEqualTo
(
1
)
.
andBrandIdEqualTo
(
brandId
);
.
andBrandIdEqualTo
(
brandId
);
List
<
PmsProduct
>
productList
=
productMapper
.
selectByExample
(
example
);
List
<
PmsProduct
>
productList
=
productMapper
.
selectByExample
(
example
);
return
CommonPage
.
restPage
(
productList
);
return
CommonPage
.
restPage
(
productList
);
...
...
Write
Preview
Supports
Markdown
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