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
19d686ae
Commit
19d686ae
authored
Jan 16, 2025
by
梅存智
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
banner列表增加图片名称查询条件 See merge request
!5
parents
2420a391
a4866b00
Hide 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 @
19d686ae
...
...
@@ -21,6 +21,9 @@ public class SiteComponyIdVO {
@ApiModelProperty
(
value
=
"应用名称"
)
private
String
terminalName
;
@ApiModelProperty
(
value
=
"图片名称"
)
private
String
imgTitle
;
@ApiModelProperty
(
value
=
"状态, 1 上架, 2 下架 , 3 全部"
)
private
Integer
state
;
...
...
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/PortalBannerServiceImpl.java
View file @
19d686ae
...
...
@@ -300,6 +300,7 @@ public class PortalBannerServiceImpl extends ServiceImpl<PortalBannerMapper, Por
map
.
put
(
"companyId"
,
companyId
);
map
.
put
(
"terminalName"
,
terminalName
);
map
.
put
(
"stateList"
,
stateList
);
map
.
put
(
"imgTitle"
,
siteComponyIdVO
.
getImgTitle
());
Page
<
PortalBannerVo
>
page
=
new
Page
<
PortalBannerVo
>(
pageNo
,
pageSize
);
listPortal
=
portalBannerMapper
.
selectPortalBanner
(
page
,
map
);
...
...
cloud-site-service/src/main/resources/mapper/PortalBannerMapper.xml
View file @
19d686ae
...
...
@@ -65,6 +65,9 @@
#{item}
</foreach>
</if>
<if
test=
"imgTitle!=null and imgTitle!=''"
>
and a.img_title LIKE CONCAT('%', #{imgTitle}, '%')
</if>
order by a.sort desc
</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