...
|
...
|
@@ -3,7 +3,7 @@ package com.sy.service.impl; |
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.sy.crossDomain.buildBarCode;
|
|
|
import com.sy.crossDomain.BuildBarCode;
|
|
|
import com.sy.mapper.LandListDao;
|
|
|
import com.sy.model.*;
|
|
|
import com.sy.service.*;
|
...
|
...
|
@@ -182,24 +182,33 @@ public class GatherInfoHandle implements GatherInfoService { |
|
|
|
|
|
/**
|
|
|
* 华东区内流转-进口分拨核销部分.
|
|
|
*/
|
|
|
if ("区内分拨".equals(landBusinessTypeList.getBusinesstype())) {
|
|
|
//入区后 核销
|
|
|
//todo:测试注释掉,二维码释放
|
|
|
if (!gatherInfoHandle.debug){
|
|
|
buildBarCode.cancleBarCode(vaName);
|
|
|
log.info("[流转申请]-二维码已释放:"+vaName);
|
|
|
}
|
|
|
|
|
|
int rc = gatherInfoHandle.landListDao.releaseBarcode(info.getBarcode());
|
|
|
if (rc>0) {
|
|
|
log.info("[进出场核销]-{}[区内分拨]-流转已核销:{}",vaName,info.getBarcode());
|
|
|
}else{
|
|
|
log.error("[进出场核销-ERROR]-{}[区内分拨]-流转未核销成功:{}",vaName,info.getBarcode());
|
|
|
}
|
|
|
//车辆流转申请缓存删除
|
|
|
releaseCache();
|
|
|
}
|
|
|
* 核销已转为从华东申报回执那里确定
|
|
|
*/
|
|
|
// if ("区内分拨".equals(landBusinessTypeList.getBusinesstype())) {
|
|
|
// //入区后 核销
|
|
|
// //todo:测试注释掉,二维码释放
|
|
|
// if (!gatherInfoHandle.debug){
|
|
|
// buildBarCode.cancleBarCode(vaName);
|
|
|
// log.info("[流转申请]-二维码已释放:"+vaName);
|
|
|
// }
|
|
|
//
|
|
|
// //分拨申请验放
|
|
|
//// boolean allocatCheck = checkNmmsAllocate(landBusinessTypeList.getMasterList());
|
|
|
//// if(!allocatCheck){
|
|
|
//// log.error("[分拨业务]-分拨申请舱单未通过校验:"+FENBO);
|
|
|
//// sendBw(info,false,FENBO,landBusinessTypeList,listinfos);
|
|
|
//// return;
|
|
|
//// }
|
|
|
//
|
|
|
// int rc = gatherInfoHandle.landListDao.releaseBarcode(info.getBarcode());
|
|
|
// if (rc>0) {
|
|
|
// log.info("[进出场核销]-{}[区内分拨]-流转已核销:{}",vaName,info.getBarcode());
|
|
|
// }else{
|
|
|
// log.error("[进出场核销-ERROR]-{}[区内分拨]-流转未核销成功:{}",vaName,info.getBarcode());
|
|
|
// }
|
|
|
// //车辆流转申请缓存删除
|
|
|
// releaseCache();
|
|
|
// }
|
|
|
return;
|
|
|
}else{
|
|
|
inStationInfo(); //入场信息获取
|
...
|
...
|
@@ -581,6 +590,13 @@ public class GatherInfoHandle implements GatherInfoService { |
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 核销记录
|
|
|
*/
|
|
|
private void releaseRecord(){
|
|
|
commandlog(info,true,"流转核销",landBusinessTypeList,null);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 流转申请是否进行核销判定
|
|
|
*/
|
|
|
private void releaseFormCheck(){
|
...
|
...
|
@@ -627,7 +643,7 @@ public class GatherInfoHandle implements GatherInfoService { |
|
|
if(count==0){
|
|
|
//todo:测试注释掉,二维码释放
|
|
|
if (!gatherInfoHandle.debug){
|
|
|
buildBarCode.cancleBarCode(vaName);
|
|
|
BuildBarCode.cancleBarCode(vaName);
|
|
|
log.info("[流转申请]-二维码已释放:"+vaName);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -652,6 +668,8 @@ public class GatherInfoHandle implements GatherInfoService { |
|
|
//车辆过卡信息缓存删除-X22金二判定时候生成的这个缓存
|
|
|
gatherInfoHandle.redisService.del(info.getSeqno());
|
|
|
log.info("[流转缓存]-{}缓存已核销",vaName);
|
|
|
//核销记录
|
|
|
releaseRecord();
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|