...
|
...
|
@@ -104,6 +104,7 @@ public class WeightCheckHandleServiceImpl implements WeightCheckHandleService { |
|
|
double result1= 0.00;
|
|
|
double result2= 0.00;
|
|
|
double emptyOut= 0.00;
|
|
|
double goodCheckResult= 0.00;
|
|
|
if(Double.doubleToLongBits(grossWt)>Double.doubleToLongBits(0)){
|
|
|
//进场过磅重量+带货重量 = 出场过磅重量
|
|
|
result = Double.parseDouble(df.format(Math.abs((inWt + goodsWt - grossWt)) / grossWt));
|
...
|
...
|
@@ -116,8 +117,12 @@ public class WeightCheckHandleServiceImpl implements WeightCheckHandleService { |
|
|
|
|
|
//车辆备案重量+货物重量 = 出场过磅重量,测试用,生产关闭
|
|
|
result1 = Double.parseDouble(df.format(Math.abs((wt + goodsWt - grossWt)) / grossWt));
|
|
|
|
|
|
//货重误差
|
|
|
goodCheckResult = Double.parseDouble(df.format(Math.abs((grossWt-inWt-goodsWt)) / goodsWt));
|
|
|
}
|
|
|
double range = valueDob();
|
|
|
logger.info("[WEIGHT-CHECK]-实际离场拉货重量:{},申请离场拉货重量:{},货重差值:{},货重误差:{}",grossWt-inWt,goodsWt,grossWt-inWt-goodsWt,goodCheckResult);
|
|
|
logger.info("[WEIGHT-CHECK]-进出场比对差值:{},提货离场差值:{},进出场比对重量差:{}",result,result1,Math.abs(inWt - grossWt));
|
|
|
|
|
|
|
...
|
...
|
|