修改数量字段

This commit is contained in:
lihao 2025-07-24 10:13:20 +08:00
parent 3997fe9963
commit dd16e2b6d3
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ PullProcess implements IRule<MaterialOutVO> {
detailItem.put("mrlCode", mrl.get("code"));
detailItem.put("mrlName", mrl.get("name"));
detailItem.put("planInDate", item.getDbizdate().toStdString());
detailItem.put("planInQty", item.getNshouldassistnum().doubleValue());
detailItem.put("planInQty", item.getNassistnum().abs().doubleValue());//MES退货单数量为正需要转换
String unitsql = "select code from bd_measdoc where pk_measdoc = '" + item.getCastunitid() + "' ";
Map<String,Object> unit = (Map<String, Object>) dao.executeQuery( unitsql, new MapProcessor());
detailItem.put("unit", unit.get("code"));