处理长顺的老数据
This commit is contained in:
@ -318,11 +318,13 @@ public class BusMrpBaseServiceImpl extends ServiceImpl<BusMrpBaseMapper, BusMrpB
|
|||||||
.reduce(BigDecimal.ZERO, BigDecimal::add);
|
.reduce(BigDecimal.ZERO, BigDecimal::add);
|
||||||
}
|
}
|
||||||
map.put("remainingQuantity",quantity.subtract(reduce));
|
map.put("remainingQuantity",quantity.subtract(reduce));
|
||||||
map.put("specification",busBillofquantities.getSpecification());
|
|
||||||
map.put("suppliespriceId",limitListId);
|
map.put("suppliespriceId",limitListId);
|
||||||
|
if (busBillofquantities != null) {
|
||||||
|
map.put("specification",busBillofquantities.getSpecification());
|
||||||
map.put("unit",busBillofquantities.getUnit());
|
map.put("unit",busBillofquantities.getUnit());
|
||||||
map.put("remark",busBillofquantities.getRemark());
|
map.put("remark",busBillofquantities.getRemark());
|
||||||
map.put("name",busBillofquantities.getName());
|
map.put("name",busBillofquantities.getName());
|
||||||
|
}
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user