|
@@ -2473,7 +2473,7 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
OrderDon orderDon = orderDonMapper.selectById(relationView.getNfOriOrderId());
|
|
OrderDon orderDon = orderDonMapper.selectById(relationView.getNfOriOrderId());
|
|
|
if (orderDon != null) {
|
|
if (orderDon != null) {
|
|
|
//paypal 或者超过一年 联系客服退款
|
|
//paypal 或者超过一年 联系客服退款
|
|
|
- if (orderDon.getType() == OrderDon.Type.PAYPAL || (orderDon.getMoney().compareTo(BigDecimal.ZERO) > 0 && orderDon.getCreatedTime().after(DateUtil.offsetMonth(orderDon.getCreatedTime(), -12)))) {
|
|
|
|
|
|
|
+ if (orderDon.getType() == OrderDon.Type.PAYPAL || (orderDon.getMoney().compareTo(BigDecimal.ZERO) > 0 && orderDon.getCreatedTime().before(DateUtil.offsetMonth(DateTime.now(), -12)))) {
|
|
|
throw BusinessRuntimeException.getInstance("请联系客服退款");
|
|
throw BusinessRuntimeException.getInstance("请联系客服退款");
|
|
|
}
|
|
}
|
|
|
GoodsDon goodsDon = goodsDonMapper.selectById(orderDon.getGoodsId());
|
|
GoodsDon goodsDon = goodsDonMapper.selectById(orderDon.getGoodsId());
|