Commit fdd9c4f8 authored by jiaorz's avatar jiaorz

修改提前还车逻辑

parent 3044f276
......@@ -318,7 +318,7 @@ public class VehicleActiveService {
DateTime endDate = new DateTime(vehicleBookRecord.getBookEndDate());
Map<String, Object> param = new HashMap<>();
param.put("vehicleId", vehicleBookRecord.getVehicleId());
param.put("time", vehicleBookRecord.getBookStartDate());
param.put("time", new Date());
List<VehicleBookRecordVo> list = vehicleBookRecordBiz.selectByVehicleIdAndTime(param);
if (list != null && list.size() > 0) {
Iterator<VehicleBookRecordVo> iterator = list.iterator();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment