Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
ms
soss
Commits
e0e203ee
Commit
e0e203ee
authored
Feb 23, 2023
by
caiyt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/v2' into v2
parents
3adb713b
fa61a757
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
soss-system/src/main/java/com/soss/system/domain/po/BannerPo.java
+4
-0
soss-system/src/main/java/com/soss/system/service/impl/SysBannerServiceImpl.java
+1
-0
No files found.
soss-system/src/main/java/com/soss/system/domain/po/BannerPo.java
View file @
e0e203ee
...
@@ -29,6 +29,10 @@ public class BannerPo {
...
@@ -29,6 +29,10 @@ public class BannerPo {
* 排序
* 排序
*/
*/
private
Integer
sort
;
private
Integer
sort
;
/**
* 状态
*/
private
Integer
state
;
@ApiModelProperty
(
"可用省份列表,全国通用传 [0]"
)
@ApiModelProperty
(
"可用省份列表,全国通用传 [0]"
)
private
String
[]
province
;
private
String
[]
province
;
...
...
soss-system/src/main/java/com/soss/system/service/impl/SysBannerServiceImpl.java
View file @
e0e203ee
...
@@ -111,6 +111,7 @@ public class SysBannerServiceImpl implements ISysBannerService {
...
@@ -111,6 +111,7 @@ public class SysBannerServiceImpl implements ISysBannerService {
banner
.
setType
(
bannerPo
.
getType
());
banner
.
setType
(
bannerPo
.
getType
());
banner
.
setTarget
(
bannerPo
.
getTarget
());
banner
.
setTarget
(
bannerPo
.
getTarget
());
banner
.
setSort
(
bannerPo
.
getSort
());
banner
.
setSort
(
bannerPo
.
getSort
());
banner
.
setState
(
bannerPo
.
getState
());
if
(
bannerPo
.
getProvince
()
!=
null
&&
bannerPo
.
getProvince
().
length
>
0
)
{
if
(
bannerPo
.
getProvince
()
!=
null
&&
bannerPo
.
getProvince
().
length
>
0
)
{
banner
.
setProvince
(
Arrays
.
asList
(
bannerPo
.
getProvince
()).
stream
().
collect
(
Collectors
.
joining
(
","
)));
banner
.
setProvince
(
Arrays
.
asList
(
bannerPo
.
getProvince
()).
stream
().
collect
(
Collectors
.
joining
(
","
)));
}
}
...
...
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