作者 xudada

注销掉货物冻结,提前运抵部分代码,加判断过磅重量校验大于0判断

... ... @@ -28,6 +28,7 @@ import javax.validation.constraints.NotNull;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
... ... @@ -78,6 +79,8 @@ public class LiftBar {
private static String IEPORSE = "无相对应进出场申请";
private static String FANGXING="有运单未放行";
private static String FENBO = "装载运单的分拨申请舱单未通过校验";
private static String NOGrossWt = "过磅重量异常";
//分拨申请回执
private static String ALLOCATE_01 = "39301 分拨申请审核通过。";
... ... @@ -143,6 +146,12 @@ public class LiftBar {
return result;
}
selfWt=Double.parseDouble(ve.getSelfWt());//车辆备案我不是
if(info.getGrosswt().compareTo(BigDecimal.ZERO)==1){
logger.info("过磅重量校验通过,过磅重量大于0");
}else{
sendBw(info,false,NOGrossWt + growssWt,new LandBusinessTypeList(),listinfos);
return false;
}
/**
* 3. 车牌号,二维码,场站ID/号,通道ID/号,进出业务类型标识I/E
... ... @@ -383,7 +392,7 @@ public class LiftBar {
* 如果有提前运抵标识,判断是否分批,不分批直接通知
* 分批是否最后一批,最后一批通知
* */
if("I".equals(info.getIetype())){
/*if("I".equals(info.getIetype())){
try{
List<LAND_BUSINEESTYPE_LIST_INFO> arrive_infos=logic.busnesslistinfoService.selectarrvie(info.getBarcode());//查询是否提前运抵
if(arrive_infos!=null && arrive_infos.size()>0){
... ... @@ -409,11 +418,11 @@ public class LiftBar {
}catch (Exception e){
logger.info("运单分批消息异常---"+e.toString());
}
}
}*/
//调拨货冻结
if (list.getBusinesstype().indexOf("业务") > 0) {
/*if (list.getBusinesstype().indexOf("业务") > 0) {
logic.inOrUpEnterCancel(list);
}
}*/
}
//绑定车单关系,生成车单关系报文
... ...