作者 朱兆平

update: 关锁接口规则增加区港分拨业务适配

@@ -130,6 +130,7 @@ class LockNoticeCheck extends Script implements ChannelCheckScript { @@ -130,6 +130,7 @@ class LockNoticeCheck extends Script implements ChannelCheckScript {
130 return true; 130 return true;
131 } 131 }
132 //关锁通知验放失败 132 //关锁通知验放失败
  133 + record(info,false,"业务异常:流转业务-关锁验放失败",null);
133 return false; 134 return false;
134 }catch (Exception e){ 135 }catch (Exception e){
135 e.printStackTrace(); 136 e.printStackTrace();
@@ -163,7 +164,10 @@ class LockNoticeCheck extends Script implements ChannelCheckScript { @@ -163,7 +164,10 @@ class LockNoticeCheck extends Script implements ChannelCheckScript {
163 */ 164 */
164 LandBusinessTypeList landBusinessTypeList = (LandBusinessTypeList) executeParams.get("ChanelFormInfo"); 165 LandBusinessTypeList landBusinessTypeList = (LandBusinessTypeList) executeParams.get("ChanelFormInfo");
165 if (landBusinessTypeList!=null){ 166 if (landBusinessTypeList!=null){
166 - if ("调拨业务".equals(landBusinessTypeList.getBusinesstype()) || "分拨业务".equals(landBusinessTypeList.getBusinesstype())) { 167 + if ("调拨业务".equals(landBusinessTypeList.getBusinesstype())
  168 + || "分拨业务".equals(landBusinessTypeList.getBusinesstype())
  169 + || "区港分拨".equals(landBusinessTypeList.getBusinesstype())
  170 + ) {
167 171
168 String sfAreaid = "4600541001"; 172 String sfAreaid = "4600541001";
169 String zbqAreaid = "4600329012"; 173 String zbqAreaid = "4600329012";
@@ -190,7 +194,7 @@ class LockNoticeCheck extends Script implements ChannelCheckScript { @@ -190,7 +194,7 @@ class LockNoticeCheck extends Script implements ChannelCheckScript {
190 194
191 //涉及综保区场站的申请不核验关锁业务. 195 //涉及综保区场站的申请不核验关锁业务.
192 if (carEndstationList.contains(zbqAreaid)) { 196 if (carEndstationList.contains(zbqAreaid)) {
193 - if ("分拨业务".equals(landBusinessTypeList.getBusinesstype())){ 197 + if ("分拨业务".equals(landBusinessTypeList.getBusinesstype()) || "区港分拨".equals(landBusinessTypeList.getBusinesstype())){
194 if (info.getChnlno().equals(bh_3_out)) { 198 if (info.getChnlno().equals(bh_3_out)) {
195 log.info("[LOCK-CHECK-TRUE]-分拨业务-综保区北货流转业务,北货区域关锁通知,当前场站北货站"); 199 log.info("[LOCK-CHECK-TRUE]-分拨业务-综保区北货流转业务,北货区域关锁通知,当前场站北货站");
196 return NEED_NOTICE; 200 return NEED_NOTICE;