Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b460467e
authored
Oct 21, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新E盾 1.30 版本开发 修改试驾车辆统计方法
1 parent
7e753e50
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
4 deletions
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
src/main/resources/mapper/ElectricInStoreDriveMapper.xml
src/main/resources/mapper/ElectricOilMileageMapper.xml
src/main/resources/mapper/TrialDriveReportMapper.xml
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
View file @
b460467
...
@@ -1445,7 +1445,7 @@ public class VehicleService {
...
@@ -1445,7 +1445,7 @@ public class VehicleService {
if
(
vehicleDevice
!=
null
)
{
if
(
vehicleDevice
!=
null
)
{
log
.
info
(
"修改设备为试驾设备==="
+
testVehicleBo
.
getSn
());
log
.
info
(
"修改设备为试驾设备==="
+
testVehicleBo
.
getSn
());
vehicleDevice
.
setTrialType
(
ConstantsDevice
.
TRIAL_DEVICE_TYPE
);
vehicleDevice
.
setTrialType
(
ConstantsDevice
.
TRIAL_DEVICE_TYPE
);
// 存入历史试驾设备类型 20201121
// 存入历史试驾设备类型 20201121
yangll
vehicleDevice
.
setHisType
(
ConstantsDevice
.
HIS_TRIAL_DEVICE_TYPE
);
vehicleDevice
.
setHisType
(
ConstantsDevice
.
HIS_TRIAL_DEVICE_TYPE
);
vehicleDevice
.
setUpdatedDate
(
new
Date
());
vehicleDevice
.
setUpdatedDate
(
new
Date
());
vehicleDevice
.
setUpdatedBy
(
ShieldContextHolder
.
getUserId
());
vehicleDevice
.
setUpdatedBy
(
ShieldContextHolder
.
getUserId
());
...
...
src/main/resources/mapper/ElectricInStoreDriveMapper.xml
View file @
b460467
...
@@ -49,7 +49,6 @@
...
@@ -49,7 +49,6 @@
WHERE tu.del_flag = 0
WHERE tu.del_flag = 0
AND tv.del_flag = 0
AND tv.del_flag = 0
AND tvd.his_type = 1
AND tvd.his_type = 1
AND td.del_flag = 0
<if
test=
"keywords != null and keywords!='' "
>
<if
test=
"keywords != null and keywords!='' "
>
and (
and (
tu.account like '%${keywords}%'
tu.account like '%${keywords}%'
...
...
src/main/resources/mapper/ElectricOilMileageMapper.xml
View file @
b460467
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
WHERE tu.del_flag = 0
WHERE tu.del_flag = 0
AND tv.del_flag = 0
AND tv.del_flag = 0
AND tvd.his_type = 1
AND tvd.his_type = 1
AND td.del_flag = 0
<if
test=
"keywords != null and keywords!='' "
>
<if
test=
"keywords != null and keywords!='' "
>
and (
and (
tu.account like '%${keywords}%'
tu.account like '%${keywords}%'
...
...
src/main/resources/mapper/TrialDriveReportMapper.xml
View file @
b460467
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
WHERE tu.del_flag = 0
WHERE tu.del_flag = 0
AND tv.del_flag = 0
AND tv.del_flag = 0
AND tvd.his_type = 1
AND tvd.his_type = 1
AND td.del_flag = 0
<if
test=
"keywords != null and keywords!='' "
>
<if
test=
"keywords != null and keywords!='' "
>
and (
and (
tu.account like '%${keywords}%'
tu.account like '%${keywords}%'
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment