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
b4305ac5
Commit
b4305ac5
authored
Oct 24, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-background-manager' into dev
parents
1395fbf7
63b9e6c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
5 deletions
+18
-5
VehicleInformationDownloadBiz.java
...c/platform/vehicle/biz/VehicleInformationDownloadBiz.java
+18
-5
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleInformationDownloadBiz.java
View file @
b4305ac5
...
@@ -32,7 +32,7 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
...
@@ -32,7 +32,7 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
public
List
<
VehicleExcel
Vo
>
getByPageNotAllData
(
VehiclePageQueryVo
vehiclePageQueryVo
,
List
<
Integer
>
companyList
)
throws
Exception
{
public
List
<
ResultVehicle
Vo
>
getByPageNotAllData
(
VehiclePageQueryVo
vehiclePageQueryVo
,
List
<
Integer
>
companyList
)
throws
Exception
{
Map
<
String
,
Object
>
params
=
PropertyUtils
.
describe
(
vehiclePageQueryVo
);
Map
<
String
,
Object
>
params
=
PropertyUtils
.
describe
(
vehiclePageQueryVo
);
//处理预定日期相关参数
//处理预定日期相关参数
vehicleBiz
.
adjustBookedInfoParam
(
params
,
vehiclePageQueryVo
);
vehicleBiz
.
adjustBookedInfoParam
(
params
,
vehiclePageQueryVo
);
...
@@ -42,10 +42,10 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
...
@@ -42,10 +42,10 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
params
.
put
(
"companyList"
,
Arrays
.
asList
(-
1
));
params
.
put
(
"companyList"
,
Arrays
.
asList
(-
1
));
}
}
return
mapper
.
get
VehicleExcelVo
NotAllData
(
params
);
return
mapper
.
get
ByPage
NotAllData
(
params
);
}
}
public
List
<
VehicleExcel
Vo
>
getByPage
(
VehiclePageQueryVo
vehiclePageQueryVo
)
throws
Exception
{
public
List
<
ResultVehicle
Vo
>
getByPage
(
VehiclePageQueryVo
vehiclePageQueryVo
)
throws
Exception
{
Map
<
String
,
Object
>
params
=
PropertyUtils
.
describe
(
vehiclePageQueryVo
);
Map
<
String
,
Object
>
params
=
PropertyUtils
.
describe
(
vehiclePageQueryVo
);
//处理预定日期相关参数
//处理预定日期相关参数
...
@@ -54,10 +54,10 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
...
@@ -54,10 +54,10 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
if
(
vehiclePageQueryVo
.
getModelId
()
==
null
)
{
if
(
vehiclePageQueryVo
.
getModelId
()
==
null
)
{
params
.
remove
(
"modelId"
);
params
.
remove
(
"modelId"
);
}
}
return
mapper
.
get
VehicleExcelVo
(
params
);
return
mapper
.
get
ByPage
(
params
);
}
}
public
List
<
VehicleExcelVo
>
get
List
(
String
vehiclePageQueryVoJson
,
UserDTO
userDTO
)
{
public
List
<
ResultVehicleVo
>
getResultVehicleVo
List
(
String
vehiclePageQueryVoJson
,
UserDTO
userDTO
)
{
VehiclePageQueryVo
vehiclePageQueryVo
=
new
VehiclePageQueryVo
();
VehiclePageQueryVo
vehiclePageQueryVo
=
new
VehiclePageQueryVo
();
try
{
try
{
if
(
StringUtils
.
isNotBlank
(
vehiclePageQueryVoJson
)){
if
(
StringUtils
.
isNotBlank
(
vehiclePageQueryVoJson
)){
...
@@ -75,4 +75,17 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
...
@@ -75,4 +75,17 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
}
}
return
new
ArrayList
();
return
new
ArrayList
();
}
}
public
List
<
VehicleExcelVo
>
getList
(
String
vehiclePageQueryVoJson
,
UserDTO
userDTO
)
throws
Exception
{
List
<
ResultVehicleVo
>
resultVehicleVoList
=
getResultVehicleVoList
(
vehiclePageQueryVoJson
,
userDTO
);
ArrayList
<
VehicleExcelVo
>
arrayList
=
Lists
.
newArrayList
();
for
(
ResultVehicleVo
resultVehicleVo
:
resultVehicleVoList
)
{
VehicleExcelVo
vehicleExcelVo
=
new
VehicleExcelVo
();
BeanUtilsBean
.
getInstance
().
copyProperties
(
vehicleExcelVo
,
resultVehicleVo
);
arrayList
.
add
(
vehicleExcelVo
);
}
return
arrayList
;
}
}
}
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