|
|
@ -1289,6 +1289,10 @@ public class OrderCreateHandleServiceImpl implements OrderCreateHandleService { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public HighChildOrder oilCard(HighOrder order, CreateOrderChildModel createOrderChildModel) { |
|
|
|
public HighChildOrder oilCard(HighOrder order, CreateOrderChildModel createOrderChildModel) { |
|
|
|
|
|
|
|
SecConfig type = secConfigService.findByCodeType("OIL_CARD_RECHARGE"); |
|
|
|
|
|
|
|
if (type != null && type.getCodeValue().equals("false")) { |
|
|
|
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "暂时无法充值!"); |
|
|
|
|
|
|
|
} |
|
|
|
// 查询油卡
|
|
|
|
// 查询油卡
|
|
|
|
HighOilCard card = oilCardService.getOilCardByCardNo(createOrderChildModel.getGoodsId().toString()); |
|
|
|
HighOilCard card = oilCardService.getOilCardByCardNo(createOrderChildModel.getGoodsId().toString()); |
|
|
|
if (card == null) { |
|
|
|
if (card == null) { |
|
|
|