作者 朱兆平

调拨分拨业务空车离场判定

@@ -465,6 +465,13 @@ public class GatherInfoHandle implements GatherInfoService { @@ -465,6 +465,13 @@ public class GatherInfoHandle implements GatherInfoService {
465 break; 465 break;
466 case "分拨业务": 466 case "分拨业务":
467 if (gatherInfoHandle.weightCheckHandleService.checkAllocateOrDispatch(growssWt, selfWt, goodsWt,inWt)){ 467 if (gatherInfoHandle.weightCheckHandleService.checkAllocateOrDispatch(growssWt, selfWt, goodsWt,inWt)){
  468 + /**
  469 + * 分拨业务如果空车出,可出.(就是申请不带运单的)
  470 + */
  471 + if (listinfos!=null && listinfos.isEmpty()){
  472 + log.info("[分拨-空车]-{}空车离场",info.getVename());
  473 + return true;
  474 + }
468 //todo:检查分拨申请 475 //todo:检查分拨申请
469 boolean allocatCheck = checkNmmsAllocate(landBusinessTypeList.getMasterList()); 476 boolean allocatCheck = checkNmmsAllocate(landBusinessTypeList.getMasterList());
470 if(!allocatCheck){ 477 if(!allocatCheck){
@@ -481,7 +488,14 @@ public class GatherInfoHandle implements GatherInfoService { @@ -481,7 +488,14 @@ public class GatherInfoHandle implements GatherInfoService {
481 } 488 }
482 case "调拨业务": 489 case "调拨业务":
483 if (gatherInfoHandle.weightCheckHandleService.checkAllocateOrDispatch(growssWt, selfWt, goodsWt,inWt)){ 490 if (gatherInfoHandle.weightCheckHandleService.checkAllocateOrDispatch(growssWt, selfWt, goodsWt,inWt)){
484 - //检查运单放行 491 + /**
  492 + * 调拨业务如果空车出,可出.(就是申请不带运单的)
  493 + */
  494 + if (listinfos!=null && listinfos.isEmpty()){
  495 + log.info("[调拨-空车]-{}空车离场",info.getVename());
  496 + return true;
  497 + }
  498 + //检查运单放行,拉板可出
485 if (gatherInfoHandle.resMessageService.checkManifestRelease(info,listinfos)){ 499 if (gatherInfoHandle.resMessageService.checkManifestRelease(info,listinfos)){
486 return true; 500 return true;
487 }else { 501 }else {