Commit b460467e by 杨林龙

新E盾 1.30 版本开发 修改试驾车辆统计方法

1 parent 7e753e50
...@@ -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());
......
...@@ -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}%'
......
...@@ -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}%'
......
...@@ -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}%'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!