rev: 木箱高度精度修改
This commit is contained in:
@@ -56,7 +56,8 @@ public class SendOutTask extends AbstractAcsTask {
|
||||
JSONObject jsonSub = WQLObject.getWQLObject("pdm_bi_subpackagerelation").query("package_box_sn = '" + json.getString("vehicle_code") + "'").uniqueResult(0);
|
||||
|
||||
String box_high_ext = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("box_high_ext").getValue();
|
||||
next_high = String.valueOf(NumberUtil.add(jsonSub.getDoubleValue("box_high"),Double.parseDouble(box_high_ext)));
|
||||
double box_high = NumberUtil.add(jsonSub.getDoubleValue("box_high"), Double.parseDouble(box_high_ext));
|
||||
next_high = String.valueOf(NumberUtil.round(box_high, 0));
|
||||
} else {
|
||||
next_high = "0";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user