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
fa61a757
Commit
fa61a757
authored
Feb 23, 2023
by
weijiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下单时校验订单中sku数量
parent
5f528090
Show 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 @
fa61a757
...
...
@@ -29,6 +29,10 @@ public class BannerPo {
* 排序
*/
private
Integer
sort
;
/**
* 状态
*/
private
Integer
state
;
@ApiModelProperty
(
"可用省份列表,全国通用传 [0]"
)
private
String
[]
province
;
...
...
soss-system/src/main/java/com/soss/system/service/impl/SysBannerServiceImpl.java
View file @
fa61a757
...
...
@@ -111,6 +111,7 @@ public class SysBannerServiceImpl implements ISysBannerService {
banner
.
setType
(
bannerPo
.
getType
());
banner
.
setTarget
(
bannerPo
.
getTarget
());
banner
.
setSort
(
bannerPo
.
getSort
());
banner
.
setState
(
bannerPo
.
getState
());
if
(
bannerPo
.
getProvince
()
!=
null
&&
bannerPo
.
getProvince
().
length
>
0
)
{
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