Commit ab37d105 authored by jiaorz's avatar jiaorz

123

parent 52828e25
......@@ -311,7 +311,7 @@ public class VehicleActiveService {
if(list != null && list.size() > 0) {
Iterator<VehicleBookRecordVo> iterator = list.iterator();
while (iterator.hasNext()) {
if(iterator.next().getVehicleDepartureLogVo() == null && iterator.next().getBookEndDate().before(new Date())) {
if(iterator.next().getVehicleDepartureLogVo() == null && iterator.next().getBookEndDate().compareTo(new Date()) < 0) {
iterator.remove();
}
}
......
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