...
|
...
|
@@ -605,6 +605,7 @@ public class GatherInfoHandle implements GatherInfoService { |
|
|
List<LandBusinessTypeList> havenCrossList = gatherInfoHandle.listService.selectByBarcodeWithE(info.getBarcode());
|
|
|
|
|
|
if (landBusinessTypeListList.isEmpty() && havenCrossList.isEmpty()){
|
|
|
log.error("[releaseFormCheck-CACHE-CHECK]-车辆进出场对应申请缓存数据为空:{}",info.getBarcode());
|
|
|
return;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -612,7 +613,9 @@ public class GatherInfoHandle implements GatherInfoService { |
|
|
for (LandBusinessTypeList businessTypeList : havenCrossList) {
|
|
|
List<LandBusinessTypeList> r = landBusinessTypeListList.stream().filter(item ->{
|
|
|
//判断还有没有没有出区的场站,还有没有出区的场站就不核销
|
|
|
log.debug("[releaseFormCheck-Stream-loop]-缓存与已出核碰,缓存元素场站:[{}],已出记录场站:[{}]",item.getEndstation(),businessTypeList.getEndstation());
|
|
|
if(item.getEndstation().equals(businessTypeList.getEndstation())) {
|
|
|
log.info("[releaseFormCheck-Stream-loop]-缓存元素场站:[{}],已出记录场站:[{}]-核销判定对碰成功",item.getEndstation(),businessTypeList.getEndstation());
|
|
|
return true;
|
|
|
}else {
|
|
|
return false;
|
...
|
...
|
@@ -621,9 +624,8 @@ public class GatherInfoHandle implements GatherInfoService { |
|
|
.collect(Collectors.toList());
|
|
|
temp.removeAll(r);
|
|
|
}
|
|
|
|
|
|
log.info("[releaseFormCheck]-核销判定结果:{}",temp.size());
|
|
|
if (temp.isEmpty()){
|
|
|
|
|
|
//todo:流转申请状态核销
|
|
|
log.info("[进出场申请]-流转申请开始核销:"+vaName);
|
|
|
//二维码核销
|
...
|
...
|
|