作者 朱兆平

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

... ... @@ -465,6 +465,13 @@ public class GatherInfoHandle implements GatherInfoService {
break;
case "分拨业务":
if (gatherInfoHandle.weightCheckHandleService.checkAllocateOrDispatch(growssWt, selfWt, goodsWt,inWt)){
/**
* 分拨业务如果空车出,可出.(就是申请不带运单的)
*/
if (listinfos!=null && listinfos.isEmpty()){
log.info("[分拨-空车]-{}空车离场",info.getVename());
return true;
}
//todo:检查分拨申请
boolean allocatCheck = checkNmmsAllocate(landBusinessTypeList.getMasterList());
if(!allocatCheck){
... ... @@ -481,7 +488,14 @@ public class GatherInfoHandle implements GatherInfoService {
}
case "调拨业务":
if (gatherInfoHandle.weightCheckHandleService.checkAllocateOrDispatch(growssWt, selfWt, goodsWt,inWt)){
//检查运单放行
/**
* 调拨业务如果空车出,可出.(就是申请不带运单的)
*/
if (listinfos!=null && listinfos.isEmpty()){
log.info("[调拨-空车]-{}空车离场",info.getVename());
return true;
}
//检查运单放行,拉板可出
if (gatherInfoHandle.resMessageService.checkManifestRelease(info,listinfos)){
return true;
}else {
... ...