|
@@ -276,6 +276,7 @@ public class GptRechargeServiceImpl implements GptRechargeService {
|
|
|
Account account = accountMapper.selectById(groupsTrips.getAccountId());
|
|
Account account = accountMapper.selectById(groupsTrips.getAccountId());
|
|
|
//代充账号设置
|
|
//代充账号设置
|
|
|
relation.setAccount(account.getAccount());
|
|
relation.setAccount(account.getAccount());
|
|
|
|
|
+ relation.setPassword(account.getPassword());
|
|
|
relationMapper.updateById(relation);
|
|
relationMapper.updateById(relation);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -297,6 +298,9 @@ public class GptRechargeServiceImpl implements GptRechargeService {
|
|
|
if (relation == null) {
|
|
if (relation == null) {
|
|
|
throw BusinessRuntimeException.getInstance("独立会员车票不存在或已过期");
|
|
throw BusinessRuntimeException.getInstance("独立会员车票不存在或已过期");
|
|
|
}
|
|
}
|
|
|
|
|
+ if (relation.getRechargeStatus() != null) {
|
|
|
|
|
+ throw BusinessRuntimeException.getInstance("该笔订单号已导入");
|
|
|
|
|
+ }
|
|
|
return relation;
|
|
return relation;
|
|
|
}
|
|
}
|
|
|
|
|
|