Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
site-project
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
hqzhdj
site-project
Commits
a4866b00
Commit
a4866b00
authored
Jan 16, 2025
by
梅存智
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
banner列表增加图片名称查询条件
parent
63794e12
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
cloud-site-api/src/main/java/com/yizhi/site/application/vo/site/SiteComponyIdVO.java
+3
-0
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/PortalBannerServiceImpl.java
+1
-0
cloud-site-service/src/main/resources/mapper/PortalBannerMapper.xml
+3
-0
No files found.
cloud-site-api/src/main/java/com/yizhi/site/application/vo/site/SiteComponyIdVO.java
View file @
a4866b00
...
@@ -21,6 +21,9 @@ public class SiteComponyIdVO {
...
@@ -21,6 +21,9 @@ public class SiteComponyIdVO {
@ApiModelProperty
(
value
=
"应用名称"
)
@ApiModelProperty
(
value
=
"应用名称"
)
private
String
terminalName
;
private
String
terminalName
;
@ApiModelProperty
(
value
=
"图片名称"
)
private
String
imgTitle
;
@ApiModelProperty
(
value
=
"状态, 1 上架, 2 下架 , 3 全部"
)
@ApiModelProperty
(
value
=
"状态, 1 上架, 2 下架 , 3 全部"
)
private
Integer
state
;
private
Integer
state
;
...
...
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/PortalBannerServiceImpl.java
View file @
a4866b00
...
@@ -300,6 +300,7 @@ public class PortalBannerServiceImpl extends ServiceImpl<PortalBannerMapper, Por
...
@@ -300,6 +300,7 @@ public class PortalBannerServiceImpl extends ServiceImpl<PortalBannerMapper, Por
map
.
put
(
"companyId"
,
companyId
);
map
.
put
(
"companyId"
,
companyId
);
map
.
put
(
"terminalName"
,
terminalName
);
map
.
put
(
"terminalName"
,
terminalName
);
map
.
put
(
"stateList"
,
stateList
);
map
.
put
(
"stateList"
,
stateList
);
map
.
put
(
"imgTitle"
,
siteComponyIdVO
.
getImgTitle
());
Page
<
PortalBannerVo
>
page
=
new
Page
<
PortalBannerVo
>(
pageNo
,
pageSize
);
Page
<
PortalBannerVo
>
page
=
new
Page
<
PortalBannerVo
>(
pageNo
,
pageSize
);
listPortal
=
portalBannerMapper
.
selectPortalBanner
(
page
,
map
);
listPortal
=
portalBannerMapper
.
selectPortalBanner
(
page
,
map
);
...
...
cloud-site-service/src/main/resources/mapper/PortalBannerMapper.xml
View file @
a4866b00
...
@@ -65,6 +65,9 @@
...
@@ -65,6 +65,9 @@
#{item}
#{item}
</foreach>
</foreach>
</if>
</if>
<if
test=
"imgTitle!=null and imgTitle!=''"
>
and a.img_title LIKE CONCAT('%', #{imgTitle}, '%')
</if>
order by a.sort desc
order by a.sort desc
</select>
</select>
...
...
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