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
1f08330d
Commit
1f08330d
authored
Aug 30, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改出车bug
parent
94e547ba
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
5 deletions
+10
-5
CampsiteShopBiz.java
.../java/com/xxfc/platform/campsite/biz/CampsiteShopBiz.java
+1
-1
TourGoodBiz.java
...src/main/java/com/xxfc/platform/tour/biz/TourGoodBiz.java
+1
-1
TypeEnum.java
...api/src/main/java/com/xxfc/platform/uccn/vo/TypeEnum.java
+2
-2
RandomListBiz.java
...c/main/java/com/xxfc/platform/uccn/biz/RandomListBiz.java
+5
-0
VehicleModelBiz.java
...n/java/com/xxfc/platform/vehicle/biz/VehicleModelBiz.java
+1
-1
No files found.
xx-campsite/xx-campsite-server/src/main/java/com/xxfc/platform/campsite/biz/CampsiteShopBiz.java
View file @
1f08330d
...
@@ -343,7 +343,7 @@ public class CampsiteShopBiz extends BaseBiz<CampsiteShopMapper, CampsiteShop> {
...
@@ -343,7 +343,7 @@ public class CampsiteShopBiz extends BaseBiz<CampsiteShopMapper, CampsiteShop> {
List
<
GoodDataVO
>
list
=
mapper
.
findAll
();
List
<
GoodDataVO
>
list
=
mapper
.
findAll
();
Set
<
GoodDataVO
>
resultList
=
new
HashSet
<>();
Set
<
GoodDataVO
>
resultList
=
new
HashSet
<>();
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
number
=
=
list
.
size
())
{
if
(
number
>
=
list
.
size
())
{
return
ObjectRestResponse
.
succ
(
list
);
return
ObjectRestResponse
.
succ
(
list
);
}
}
Set
<
Integer
>
set
=
new
HashSet
<>();
Set
<
Integer
>
set
=
new
HashSet
<>();
...
...
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/biz/TourGoodBiz.java
View file @
1f08330d
...
@@ -334,7 +334,7 @@ public class TourGoodBiz extends BaseBiz<TourGoodMapper, TourGood> {
...
@@ -334,7 +334,7 @@ public class TourGoodBiz extends BaseBiz<TourGoodMapper, TourGood> {
List
<
TourGood
>
list
=
mapper
.
getCoordinateList
(
param
);
List
<
TourGood
>
list
=
mapper
.
getCoordinateList
(
param
);
Set
<
TourGood
>
resultList
=
new
HashSet
<>();
Set
<
TourGood
>
resultList
=
new
HashSet
<>();
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
number
=
=
list
.
size
())
{
if
(
number
>
=
list
.
size
())
{
return
ObjectRestResponse
.
succ
(
list
);
return
ObjectRestResponse
.
succ
(
list
);
}
}
Set
<
Integer
>
set
=
new
HashSet
<>();
Set
<
Integer
>
set
=
new
HashSet
<>();
...
...
xx-uccn/xx-uccn-api/src/main/java/com/xxfc/platform/uccn/vo/TypeEnum.java
View file @
1f08330d
...
@@ -6,8 +6,8 @@ public enum TypeEnum {
...
@@ -6,8 +6,8 @@ public enum TypeEnum {
VEHICLE
(
1
,
"车型"
),
VEHICLE
(
1
,
"车型"
),
TOUR
(
2
,
"旅游"
),
TOUR
(
2
,
"旅游"
),
CAMPSITE
(
3
,
"营地"
),
CAMPSITE
(
3
,
"营地"
),
ACTIVITY
(
4
,
"活动"
)
;
ACTIVITY
(
4
,
"活动"
)
,
NEWS
(
5
,
"新闻"
);
private
Integer
code
;
private
Integer
code
;
private
String
msg
;
private
String
msg
;
...
...
xx-uccn/xx-uccn-server/src/main/java/com/xxfc/platform/uccn/biz/RandomListBiz.java
View file @
1f08330d
...
@@ -28,6 +28,9 @@ public class RandomListBiz {
...
@@ -28,6 +28,9 @@ public class RandomListBiz {
@Autowired
@Autowired
SummitActivityBiz
summitActivityBiz
;
SummitActivityBiz
summitActivityBiz
;
@Autowired
ArticleBiz
articleBiz
;
/**
/**
* @param type 类型
* @param type 类型
...
@@ -46,6 +49,8 @@ public class RandomListBiz {
...
@@ -46,6 +49,8 @@ public class RandomListBiz {
return
campsiteFeign
.
findRandomVehicle
(
number
);
return
campsiteFeign
.
findRandomVehicle
(
number
);
case
ACTIVITY:
case
ACTIVITY:
return
ObjectRestResponse
.
succ
(
summitActivityBiz
.
getHostWithSummitActivity
(
number
,
location
));
return
ObjectRestResponse
.
succ
(
summitActivityBiz
.
getHostWithSummitActivity
(
number
,
location
));
case
NEWS:
}
}
}
}
return
ObjectRestResponse
.
succ
();
return
ObjectRestResponse
.
succ
();
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleModelBiz.java
View file @
1f08330d
...
@@ -83,7 +83,7 @@ public class VehicleModelBiz extends BaseBiz<VehicleModelMapper, VehicleModel> {
...
@@ -83,7 +83,7 @@ public class VehicleModelBiz extends BaseBiz<VehicleModelMapper, VehicleModel> {
List
<
VehicleModelVo
>
list
=
mapper
.
findVehicleModelPage
(
vmqc
);
List
<
VehicleModelVo
>
list
=
mapper
.
findVehicleModelPage
(
vmqc
);
Set
<
VehicleModelVo
>
resultList
=
new
HashSet
<>();
Set
<
VehicleModelVo
>
resultList
=
new
HashSet
<>();
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
number
=
=
list
.
size
())
{
if
(
number
>
=
list
.
size
())
{
return
ObjectRestResponse
.
succ
(
list
);
return
ObjectRestResponse
.
succ
(
list
);
}
}
Set
<
Integer
>
set
=
new
HashSet
<>();
Set
<
Integer
>
set
=
new
HashSet
<>();
...
...
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