|
@@ -134,6 +134,10 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
String remainDays = DateUtil.formatBetween(now, ticket.getExpiryTime(), BetweenFormater.Level.DAY);
|
|
String remainDays = DateUtil.formatBetween(now, ticket.getExpiryTime(), BetweenFormater.Level.DAY);
|
|
|
if ("0天".equals(remainDays)) {
|
|
if ("0天".equals(remainDays)) {
|
|
|
remainDays = "小于1天";
|
|
remainDays = "小于1天";
|
|
|
|
|
+ } else {
|
|
|
|
|
+ //当天也算
|
|
|
|
|
+ int days = Integer.parseInt(remainDays.substring(0, remainDays.indexOf("天")));
|
|
|
|
|
+ remainDays = days + 1 + "天";
|
|
|
}
|
|
}
|
|
|
ticket.setRemainDays(remainDays);
|
|
ticket.setRemainDays(remainDays);
|
|
|
}
|
|
}
|