浏览代码

ias 黄牌车暂不支持办理

master
chenchaod 2 周前
父节点
当前提交
bb7a1a2ede

+ 4
- 0
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/order/OrderInitManager.java 查看文件

@@ -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);

正在加载...
取消
保存