|
|
@@ -739,7 +739,7 @@ public class CmsOrderDonServiceImpl extends ServiceImpl<OrderDonMapper,OrderDon>
|
|
|
OrderDon orderDon = orderDonMapper.selectOne(Wrappers.lambdaQuery(OrderDon.class)
|
|
|
.in(OrderDon::getUserId, userIdList)
|
|
|
.eq(OrderDon::getRelationId, relationId)
|
|
|
- .notIn(OrderDon::getStatus, Constant.noOrderAllStatus)
|
|
|
+ .notIn(OrderDon::getStatus, Constant.noOrderStatus)
|
|
|
.orderByDesc(OrderDon::getId)
|
|
|
.last("limit 1"));
|
|
|
OrderDiscountPlusPurchaseSkuRelation plusPurchaseSkuRelation = null;
|
|
|
@@ -775,9 +775,9 @@ public class CmsOrderDonServiceImpl extends ServiceImpl<OrderDonMapper,OrderDon>
|
|
|
}
|
|
|
}
|
|
|
Assert.notNull(orderDon, "订单不存在");
|
|
|
- if (orderDon.getStatus() == OrderDon.Status.refund) {
|
|
|
- throw BusinessRuntimeException.getInstance("订单已退款");
|
|
|
- }
|
|
|
+// if (orderDon.getStatus() == OrderDon.Status.refund) {
|
|
|
+// throw BusinessRuntimeException.getInstance("订单已退款");
|
|
|
+// }
|
|
|
|
|
|
//获取新车队
|
|
|
LambdaQueryWrapper<GroupsTrips> queryWrapper = Wrappers.lambdaQuery(GroupsTrips.class)
|