Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
d0828bd2
Commit
d0828bd2
authored
Oct 07, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-chw' of
http://113.105.137.151:22280/youjj/cloud-platform
into dev-chw
parents
273f3576
5743bff9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
Banner.java
...pi/src/main/java/com/xxfc/platform/app/entity/Banner.java
+1
-1
VehiclePlatCataBiz.java
...ava/com/xxfc/platform/vehicle/biz/VehiclePlatCataBiz.java
+3
-0
VehiclePlatCataMapper.xml
...erver/src/main/resources/mapper/VehiclePlatCataMapper.xml
+6
-6
No files found.
xx-app/xx-app-api/src/main/java/com/xxfc/platform/app/entity/Banner.java
View file @
d0828bd2
...
@@ -110,7 +110,7 @@ public class Banner {
...
@@ -110,7 +110,7 @@ public class Banner {
private
Integer
type
;
private
Integer
type
;
/**
/**
* 位置 banner位置0
所有 1:推荐 2:拍拍 3:短视频 4:问答
* 位置 banner位置0
:所有 1:首页 2:房车主页 3:机车主页 4:游艇主页
*/
*/
private
Integer
location
;
private
Integer
location
;
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehiclePlatCataBiz.java
View file @
d0828bd2
...
@@ -161,6 +161,9 @@ public class VehiclePlatCataBiz extends BaseBiz<VehiclePlatCataMapper, VehiclePl
...
@@ -161,6 +161,9 @@ public class VehiclePlatCataBiz extends BaseBiz<VehiclePlatCataMapper, VehiclePl
List
<
VehiclePlatCata
>
vehiclePlatCatas
=
childrens
.
parallelStream
().
filter
(
vehiclePlatCata
->
{
List
<
VehiclePlatCata
>
vehiclePlatCatas
=
childrens
.
parallelStream
().
filter
(
vehiclePlatCata
->
{
vehiclePlatCata
.
setParentId
(
parentId
);
vehiclePlatCata
.
setParentId
(
parentId
);
vehiclePlatCata
.
setCrtTime
(
System
.
currentTimeMillis
());
vehiclePlatCata
.
setCrtTime
(
System
.
currentTimeMillis
());
if
(
null
==
vehiclePlatCata
.
getRank
())
{
vehiclePlatCata
.
setRank
(
1
);
}
return
vehiclePlatCata
.
getState
()
==
0
;
return
vehiclePlatCata
.
getState
()
==
0
;
}).
filter
(
vpc
->
StringUtils
.
isNotBlank
(
vpc
.
getName
())).
collect
(
Collectors
.
toList
());
}).
filter
(
vpc
->
StringUtils
.
isNotBlank
(
vpc
.
getName
())).
collect
(
Collectors
.
toList
());
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehiclePlatCataMapper.xml
View file @
d0828bd2
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<insert
id=
"addPlatCataList"
parameterType=
"java.util.List"
>
<insert
id=
"addPlatCataList"
parameterType=
"java.util.List"
>
insert into vehicle_plat_cata (
insert into vehicle_plat_cata (
parent_id,name,icon,depict,rank,level,state,crt_time,upd_time,is
M
ore,start_using
parent_id,name,icon,depict,rank,level,state,crt_time,upd_time,is
_m
ore,start_using
) VALUES
) VALUES
<foreach
collection =
"vpclist"
item=
"vpc"
index=
"index"
separator =
","
>
<foreach
collection =
"vpclist"
item=
"vpc"
index=
"index"
separator =
","
>
<if
test=
"vpc.state == 0"
>
<if
test=
"vpc.state == 0"
>
...
...
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