|
|
@ -92,8 +92,9 @@ public class BaseVehicleRest implements BaseVehicleFeign { |
|
|
|
Date priceDate = record.getPriceDate(); |
|
|
|
String today = DateUtil.today(); |
|
|
|
DateTime currentDate = DateUtil.parse(today); |
|
|
|
int i = priceDate.compareTo(currentDate); |
|
|
|
long betweenDay = DateUtil.between(priceDate, currentDate, DateUnit.DAY); |
|
|
|
record.setLibraryAge(betweenDay); |
|
|
|
record.setLibraryAge(betweenDay*i*-1); |
|
|
|
} |
|
|
|
} |
|
|
|
PagerVo<BaseVehicleVo> pv = new PagerVo<>(); |
|
|
|