|
|
@@ -196,10 +196,10 @@ public class GptProxyRechargeServiceImpl implements GptProxyRechargeService {
|
|
|
}
|
|
|
GroupsTrips groupsTrips = groupsMapper.selectById(relation.getGroupsId());
|
|
|
GoodsDonSku sku = skuMapper.selectById(groupsTrips.getSkuId());
|
|
|
- //GPT 代充
|
|
|
- if (sku.getGoodsId() != Constant.GPT_RECHARGE_GOODS_ID) {
|
|
|
- throw BusinessRuntimeException.getInstance("车票类型错误");
|
|
|
- }
|
|
|
+// //GPT 代充
|
|
|
+// if (sku.getGoodsId() != Constant.GPT_RECHARGE_GOODS_ID) {
|
|
|
+// throw BusinessRuntimeException.getInstance("车票类型错误");
|
|
|
+// }
|
|
|
Integer rechargeRemainNum = relation.getRechargeRemainNum();
|
|
|
if (rechargeRemainNum == null || rechargeRemainNum <= 0) {
|
|
|
throw BusinessRuntimeException.getInstance("剩余可代充次数为0");
|