This commit is contained in:
zds
2022-10-21 11:13:18 +08:00
parent 24d9b33ca4
commit 31fb7a7d0f

View File

@@ -465,7 +465,8 @@ public class HandPFOutIvtServiceImpl implements HandPFOutIvtService {
} }
String area_type = pointObj.getString("area_type"); String area_type = pointObj.getString("area_type");
String bucketunique = jsonObject.get("bucketunique"); String bucketunique = jsonObject.get("bucketunique");
String out_qty = NumberUtil.round(MapUtil.getStr(jsonObject,"out_qty"), 2).toString(); //需出重量
String out_qty = jsonObject.get("out_qty");
//根据桶查询物料批次信息 //根据桶查询物料批次信息
JSONObject bucketObj = WQLObject.getWQLObject("md_pb_bucketrecord").query("bucketunique='" + bucketunique + "'").uniqueResult(0); JSONObject bucketObj = WQLObject.getWQLObject("md_pb_bucketrecord").query("bucketunique='" + bucketunique + "'").uniqueResult(0);
String material_id = bucketObj.getString("material_id"); String material_id = bucketObj.getString("material_id");