zoujiajian 1 year ago
parent
commit
8a33cef413

+ 2 - 0
netflix-service/src/main/java/com/cyksj/server/recharge/impl/GptProxyRechargeServiceImpl.java

@@ -219,6 +219,8 @@ public class GptProxyRechargeServiceImpl implements GptProxyRechargeService {
 			if (updateRemainNum == 0) {
 				throw BusinessRuntimeException.getInstance("代充异常,请重试");
 			}
+			//重新获取车票
+			relation = relationMapper.selectById(relationId);
 			OrderDon orderDon = orderDonMapper.selectOne(Wrappers.lambdaQuery(OrderDon.class)
 					.in(OrderDon::getUserId, userIdList)
 					.eq(OrderDon::getRelationId, relationId)