|
|
@@ -270,6 +270,9 @@ public class GptRechargeServiceImpl implements GptRechargeService {
|
|
|
relation.setRechargeNum(months > num ? months : num);
|
|
|
relation.setRechargeRemainNum(num);
|
|
|
GroupsTrips groupsTrips = groupsMapper.selectById(relation.getGroupsId());
|
|
|
+ if (groupsTrips.getAccountId() == null) {
|
|
|
+ throw BusinessRuntimeException.getInstance("该订单车队未配置账号");
|
|
|
+ }
|
|
|
Account account = accountMapper.selectById(groupsTrips.getGoodsId());
|
|
|
//代充账号设置
|
|
|
relation.setAccount(account.getAccount());
|