...
|
...
|
@@ -113,6 +113,9 @@ public class LiftBar { |
|
|
CommandClient.Client(info, NORECORD + vaName);
|
|
|
return result;
|
|
|
}
|
|
|
/*if("4604600000".equals(info.getAreaid())){
|
|
|
return result;
|
|
|
}*/
|
|
|
/**
|
|
|
* 车牌号,二维码,场站ID/号,通道ID/号,进出业务类型标识I/E
|
|
|
* 查询是否已有此场站通道的申请
|
...
|
...
|
@@ -149,10 +152,12 @@ public class LiftBar { |
|
|
//对应场站进场过磅重量
|
|
|
inWt=typeList.getAislewt();
|
|
|
}
|
|
|
//进出差值
|
|
|
diffVal = inWt- growssWt;
|
|
|
}
|
|
|
//判断场站出场是否要重量校验
|
|
|
if(FileTool.readProperties("station").equals(list.getEndstation())||FileTool.readProperties("stationsf").equals(list.getEndstation())){
|
|
|
if(FileTool.readProperties("station").equals(list.getEndstation())||FileTool.readProperties("stationsf").equals(list.getEndstation())
|
|
|
|| "4604600000".equals(list.getEndstation())){
|
|
|
checkResult=true;
|
|
|
}else if(!"普通货".equals(list.getCocode())){
|
|
|
checkResult=true;
|
...
|
...
|
@@ -182,7 +187,7 @@ public class LiftBar { |
|
|
//list.setRemark(String.format("%.1f", goodsWt));
|
|
|
list.setRemark2(ve.getSelfWt());
|
|
|
list.setContrastflag("已进站");
|
|
|
logic.checkData(list);
|
|
|
//logic.checkData(list);
|
|
|
} else {
|
|
|
LandRoadVe veName = logic.veService.selectByFrameNo(vaName);
|
|
|
list.setAislewt(info.getGrosswt().doubleValue());
|
...
|
...
|
@@ -191,7 +196,7 @@ public class LiftBar { |
|
|
list.setRemark1(String.format("%.1f", diffVal));
|
|
|
list.setRemark2(veName.getSelfWt());
|
|
|
list.setContrastflag("已出站");
|
|
|
logic.checkData(list);
|
|
|
//logic.checkData(list);
|
|
|
}
|
|
|
logic.listService.updateById(list);//更新进出场申请业务表
|
|
|
//进出场申请业务表对应场站的卡口失效
|
...
|
...
|
@@ -224,11 +229,11 @@ public class LiftBar { |
|
|
}
|
|
|
}
|
|
|
//最后发送通知数组
|
|
|
try{
|
|
|
/*try{
|
|
|
new LiftBar().sendMessage(info.getVename(),arrive_infos);
|
|
|
}catch (Exception e){
|
|
|
logger.info("新舱单发送消息异常---"+e.toString());
|
|
|
}
|
|
|
}*/
|
|
|
}
|
|
|
}catch (Exception e){
|
|
|
logger.info("运单分批消息异常---"+e.toString());
|
...
|
...
|
|