|
@@ -1293,6 +1293,11 @@ public class CmsOrderController {
|
|
|
orderDonUserRefundDetailView.setRemainsDays(remainDays.intValue());
|
|
orderDonUserRefundDetailView.setRemainsDays(remainDays.intValue());
|
|
|
orderDonUserRefundDetailView.setCompensationDays(relation.getCompensationDays());
|
|
orderDonUserRefundDetailView.setCompensationDays(relation.getCompensationDays());
|
|
|
}
|
|
}
|
|
|
|
|
+ //是否是重复续费升级订单
|
|
|
|
|
+ if (orderDon.getOrderType() == 2) {
|
|
|
|
|
+ Integer selectCount = orderDonMapper.selectCount(Wrappers.lambdaQuery(OrderDon.class).eq(OrderDon::getRelationId, relation.getId()).in(OrderDon::getUserId, userIdList).eq(OrderDon::getOrderType, 2).notIn(OrderDon::getStatus, Constant.noOrderStatus));
|
|
|
|
|
+ orderDonUserRefundDetailView.setIsDupRenew(selectCount > 1);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(orderDonUserRefundDetailView);
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(orderDonUserRefundDetailView);
|
|
|
}
|
|
}
|