|
|
@@ -122,10 +122,10 @@ public class GptRechargeServiceImpl implements GptRechargeService {
|
|
|
}
|
|
|
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");
|