Commit cb561a6c authored by 周健威's avatar 周健威

添加最后的真实还车时间

parent e0acbc00
...@@ -357,6 +357,14 @@ public class OrderRentVehicleDetail implements Serializable { ...@@ -357,6 +357,14 @@ public class OrderRentVehicleDetail implements Serializable {
@ApiModelProperty(value = "延期结束时间") @ApiModelProperty(value = "延期结束时间")
private Long delayAddEndTime; private Long delayAddEndTime;
public Long obtainRealEndTime() {
if(null != getDelayAddEndTime()) {
return getDelayAddEndTime();
}else {
return getEndTime();
}
}
public Integer obtainRealDayNum() { public Integer obtainRealDayNum() {
return this.dayNum + this.delayAddDays; return this.dayNum + this.delayAddDays;
} }
......
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