|
|
@@ -259,6 +259,9 @@ public class GptProxyRechargeServiceImpl implements GptProxyRechargeService {
|
|
|
if (relation == null) {
|
|
|
throw BusinessRuntimeException.getInstance("车票不存在");
|
|
|
}
|
|
|
+ if (relation.getRechargeStatus() != null && relation.getRechargeStatus() == GroupsRelation.RechargeStatus.recharge_error) {
|
|
|
+ throw BusinessRuntimeException.getInstance("充值失败,清联系客服");
|
|
|
+ }
|
|
|
String userAccount = relation.getAccount();
|
|
|
GroupsTrips groupsTrips = groupsMapper.selectById(relation.getGroupsId());
|
|
|
GoodsDonSku sku = skuMapper.selectById(groupsTrips.getSkuId());
|