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
bb7f0db4
Commit
bb7f0db4
authored
Sep 23, 2023
by
sdif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户端新闻资讯公告取消城市筛选
parent
df346608
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
pz-applet/src/main/java/com/pz/applet/AppletInformationController.java
+1
-1
pz-system/src/main/java/com/pz/system/service/impl/CarouselServiceImpl.java
+7
-2
No files found.
pz-applet/src/main/java/com/pz/applet/AppletInformationController.java
View file @
bb7f0db4
...
@@ -45,7 +45,7 @@ public class AppletInformationController extends BaseController {
...
@@ -45,7 +45,7 @@ public class AppletInformationController extends BaseController {
*/
*/
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
<
InformationVo
>
list
(
InformationBo
bo
,
PageQuery
pageQuery
,
HttpServletRequest
reques
)
{
public
TableDataInfo
<
InformationVo
>
list
(
InformationBo
bo
,
PageQuery
pageQuery
,
HttpServletRequest
reques
)
{
bo
.
setCityId
(
CityIdUtils
.
setCityIdPasLong
(
reques
));
//
bo.setCityId(CityIdUtils.setCityIdPasLong(reques));
return
iInformationService
.
queryPageList
(
bo
,
pageQuery
);
return
iInformationService
.
queryPageList
(
bo
,
pageQuery
);
}
}
...
...
pz-system/src/main/java/com/pz/system/service/impl/CarouselServiceImpl.java
View file @
bb7f0db4
...
@@ -134,10 +134,15 @@ public class CarouselServiceImpl implements ICarouselService {
...
@@ -134,10 +134,15 @@ public class CarouselServiceImpl implements ICarouselService {
public
HomeVo
selectHome
(
Integer
cityId
)
{
public
HomeVo
selectHome
(
Integer
cityId
)
{
HomeVo
homeVo
=
new
HomeVo
();
HomeVo
homeVo
=
new
HomeVo
();
List
<
Notice
>
notices
=
noticeMapper
.
selectList
(
List
<
Notice
>
notices
=
noticeMapper
.
selectList
(
new
LambdaQueryWrapper
<
Notice
>().
eq
(
Notice:
:
getSite
,
1
)
.
eq
(
Notice:
:
getCityId
,
cityId
)
new
LambdaQueryWrapper
<
Notice
>().
eq
(
Notice:
:
getSite
,
1
)
);
);
if
(
null
!=
notices
&&
notices
.
size
()
!=
0
){
if
(
null
!=
notices
&&
notices
.
size
()
!=
0
){
homeVo
.
setNotice
(
notices
.
get
(
0
).
getInfo
());
StringBuilder
stringBuilder
=
new
StringBuilder
();
for
(
Notice
notice
:
notices
)
{
stringBuilder
.
append
(
notice
.
getInfo
());
stringBuilder
.
append
(
" "
);
}
homeVo
.
setNotice
(
stringBuilder
.
toString
());
}
}
homeVo
.
setCarousel
(
baseMapper
.
selectList
(
homeVo
.
setCarousel
(
baseMapper
.
selectList
(
new
LambdaQueryWrapper
<
Carousel
>().
eq
(
new
LambdaQueryWrapper
<
Carousel
>().
eq
(
...
...
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