zoujiajian 8 달 전
부모
커밋
7fd56ea7c9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

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