Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PeiZhen-Java
peizhen-java
Commits
cbf8a54b
Commit
cbf8a54b
authored
Sep 26, 2023
by
sdif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除商城城市id
parent
ed3de4a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pz-applet/src/main/java/com/pz/applet/AppletStoreGoodsController.java
+2
-2
pz-system/src/main/java/com/pz/system/service/impl/StoreGoodsServiceImpl.java
+1
-1
No files found.
pz-applet/src/main/java/com/pz/applet/AppletStoreGoodsController.java
View file @
cbf8a54b
...
@@ -47,7 +47,7 @@ public class AppletStoreGoodsController extends BaseController {
...
@@ -47,7 +47,7 @@ public class AppletStoreGoodsController extends BaseController {
*/
*/
@GetMapping
(
"/shopList"
)
@GetMapping
(
"/shopList"
)
public
TableDataInfo
<
StoreGoodsVo
>
shopList
(
StoreGoodsBo
bo
,
PageQuery
pageQuery
,
HttpServletRequest
reques
)
{
public
TableDataInfo
<
StoreGoodsVo
>
shopList
(
StoreGoodsBo
bo
,
PageQuery
pageQuery
,
HttpServletRequest
reques
)
{
bo
.
setCityId
(
CityIdUtils
.
setCityIdPasLong
(
reques
));
//
bo.setCityId(CityIdUtils.setCityIdPasLong(reques));
return
iStoreGoodsService
.
shopAppShop
(
bo
,
pageQuery
);
return
iStoreGoodsService
.
shopAppShop
(
bo
,
pageQuery
);
}
}
/**
/**
...
@@ -55,7 +55,7 @@ public class AppletStoreGoodsController extends BaseController {
...
@@ -55,7 +55,7 @@ public class AppletStoreGoodsController extends BaseController {
*/
*/
@GetMapping
(
"/searchShop"
)
@GetMapping
(
"/searchShop"
)
public
TableDataInfo
<
StoreGoodsVo
>
searchShop
(
StoreGoodsBo
bo
,
PageQuery
pageQuery
,
HttpServletRequest
reques
)
{
public
TableDataInfo
<
StoreGoodsVo
>
searchShop
(
StoreGoodsBo
bo
,
PageQuery
pageQuery
,
HttpServletRequest
reques
)
{
bo
.
setCityId
(
CityIdUtils
.
setCityIdPasLong
(
reques
));
//
bo.setCityId(CityIdUtils.setCityIdPasLong(reques));
return
iStoreGoodsService
.
searchAppShop
(
bo
,
pageQuery
);
return
iStoreGoodsService
.
searchAppShop
(
bo
,
pageQuery
);
}
}
...
...
pz-system/src/main/java/com/pz/system/service/impl/StoreGoodsServiceImpl.java
View file @
cbf8a54b
...
@@ -149,7 +149,7 @@ public class StoreGoodsServiceImpl implements IStoreGoodsService {
...
@@ -149,7 +149,7 @@ public class StoreGoodsServiceImpl implements IStoreGoodsService {
//查询所有商户分类
//查询所有商户分类
List
<
StoreApplyVo
>
storeApplies
=
storeApplyMapper
.
selectVoList
(
List
<
StoreApplyVo
>
storeApplies
=
storeApplyMapper
.
selectVoList
(
new
LambdaQueryWrapper
<
StoreApply
>().
eq
(
StoreApply:
:
getStatus
,
1
)
new
LambdaQueryWrapper
<
StoreApply
>().
eq
(
StoreApply:
:
getStatus
,
1
)
.
eq
(
StoreApply:
:
getCityId
,
cityId
)
);
);
//查询商户下面的商品
//查询商户下面的商品
for
(
StoreApplyVo
storeApply
:
storeApplies
)
{
for
(
StoreApplyVo
storeApply
:
storeApplies
)
{
...
...
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