zoujiajian пре 1 година
родитељ
комит
66a2ccf691

+ 4 - 0
netflix-service/src/main/java/com/cyksj/service/mange/gpt/impl/GptRechargeServiceImpl.java

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