修改数量字段
This commit is contained in:
parent
3997fe9963
commit
dd16e2b6d3
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue