|
|
@@ -95,7 +95,12 @@ public class OrderCommonServiceImpl implements OrderCommonService {
|
|
|
if (sku.getDays() != null && sku.getDays() > 0) {
|
|
|
refundExpiryTime = DateUtil.offsetDay(expiryTime, -sku.getDays() * num);
|
|
|
} else {
|
|
|
- refundExpiryTime = DateUtil.offsetMonth(expiryTime, -sku.getMonths() * num);
|
|
|
+ //奈飞月付按30天计算
|
|
|
+ if (sku.getGoodsId() == 1 && sku.getMonths() == 1) {
|
|
|
+ refundExpiryTime = DateUtil.offsetMonth(expiryTime, -30);
|
|
|
+ } else {
|
|
|
+ refundExpiryTime = DateUtil.offsetMonth(expiryTime, -sku.getMonths() * num);
|
|
|
+ }
|
|
|
}
|
|
|
if (now.isBefore(refundExpiryTime)) {
|
|
|
isFlag = false;
|