|
|
@@ -83,6 +83,10 @@ public class OrderInitManager extends AbstractOrderManager<OrderInitRequest> { |
|
|
|
@Override |
|
|
|
protected void businessValidateInternal(ErrorMsgBuilder builder, OrderInitRequest request, ServiceLogEvent event, |
|
|
|
Map<String, Object> dataStream) throws ServiceHandleException { |
|
|
|
//黄牌车暂不办理 |
|
|
|
if (PlateColorType.YELLOW.getCode() == request.getVehiclePlateColor()){ |
|
|
|
throw newBusinessException("黄牌车辆暂不可办理,敬请期待"); |
|
|
|
} |
|
|
|
|
|
|
|
String lockKey = MyFinals.VEHICLE_LOCK_KEY + request.getVehiclePlate(); |
|
|
|
lock = redissonClient.getLock(lockKey); |