|
@@ -43,7 +43,7 @@ public class GatherInfoHandle implements GatherInfoService { |
|
@@ -43,7 +43,7 @@ public class GatherInfoHandle implements GatherInfoService { |
43
|
private static String FANGXING= "有运单未放行";
|
43
|
private static String FANGXING= "有运单未放行";
|
44
|
private static String FENBO = "装载运单的分拨申请舱单未通过校验";
|
44
|
private static String FENBO = "装载运单的分拨申请舱单未通过校验";
|
45
|
private static String NOGrossWt = "过磅重量异常";
|
45
|
private static String NOGrossWt = "过磅重量异常";
|
46
|
- private static String BLACKLIST= "此车辆已被拉进黑名单,不允许出区";
|
46
|
+ private static String BLACKLIST= "车辆已被拉进黑名单,不允许出区";
|
47
|
private static String CHANEL_ERR= "无对应通道流转申请,走错通道";
|
47
|
private static String CHANEL_ERR= "无对应通道流转申请,走错通道";
|
48
|
|
48
|
|
49
|
|
49
|
|
|
@@ -247,13 +247,17 @@ public class GatherInfoHandle implements GatherInfoService { |
|
@@ -247,13 +247,17 @@ public class GatherInfoHandle implements GatherInfoService { |
247
|
//2. 校验车辆是否备案
|
247
|
//2. 校验车辆是否备案
|
248
|
LandRoadVe ve = gatherInfoHandle.veService.selectByFrameNo(vaName);
|
248
|
LandRoadVe ve = gatherInfoHandle.veService.selectByFrameNo(vaName);
|
249
|
//若无备案信息或者黑名单,返回车辆未备案或者识别错误,
|
249
|
//若无备案信息或者黑名单,返回车辆未备案或者识别错误,
|
250
|
- if (ve == null || !veBlackListCheck(ve)) {
|
250
|
+ if (ve == null) {
|
251
|
log.error(NORECORD+vaName);
|
251
|
log.error(NORECORD+vaName);
|
252
|
sendBw(info,false,NORECORD + vaName,null,listinfos);
|
252
|
sendBw(info,false,NORECORD + vaName,null,listinfos);
|
253
|
//CommandClient.Client(info, NORECORD + vaName);
|
253
|
//CommandClient.Client(info, NORECORD + vaName);
|
254
|
return false;
|
254
|
return false;
|
255
|
}
|
255
|
}
|
256
|
|
256
|
|
|
|
257
|
+ if (!veBlackListCheck(ve)){
|
|
|
258
|
+ return false;
|
|
|
259
|
+ }
|
|
|
260
|
+
|
257
|
//车辆备案重量
|
261
|
//车辆备案重量
|
258
|
selfWt=Double.parseDouble(ve.getSelfWt());
|
262
|
selfWt=Double.parseDouble(ve.getSelfWt());
|
259
|
return true;
|
263
|
return true;
|
|
@@ -265,8 +269,8 @@ public class GatherInfoHandle implements GatherInfoService { |
|
@@ -265,8 +269,8 @@ public class GatherInfoHandle implements GatherInfoService { |
265
|
*/
|
269
|
*/
|
266
|
private boolean veBlackListCheck(LandRoadVe ve){
|
270
|
private boolean veBlackListCheck(LandRoadVe ve){
|
267
|
if("Y".equals(ve.getVeState())){
|
271
|
if("Y".equals(ve.getVeState())){
|
268
|
- log.info(BLACKLIST+vaName);
|
|
|
269
|
- sendBw(info,false,BLACKLIST + vaName,null,listinfos);
|
272
|
+ log.info(vaName+BLACKLIST);
|
|
|
273
|
+ sendBw(info,false,vaName+BLACKLIST,null,listinfos);
|
270
|
return false;
|
274
|
return false;
|
271
|
}
|
275
|
}
|
272
|
return true;
|
276
|
return true;
|