fix(工序出站):消耗计算保留三位,后面全部舍去
This commit is contained in:
parent
5e4d8457b9
commit
735973ccba
@ -716,7 +716,7 @@ public class OperationOutServiceImpl extends ServiceImpl<OperationOutMapper, Ope
|
||||
}
|
||||
if (flag == 0) {
|
||||
// bom数量计算
|
||||
BigDecimal bomQty = operationOutBomComponentDTO.getQty().divide(operationOutBomComponentDTO.getUnitQty(), 6, RoundingMode.DOWN);
|
||||
BigDecimal bomQty = operationOutBomComponentDTO.getQty().divide(operationOutBomComponentDTO.getUnitQty(), 3, RoundingMode.DOWN);
|
||||
// 获取物料上料记录
|
||||
List<EqpFeeding> eqpFeedingList = eqpFeedingMapper.selectList(Wrappers.<EqpFeeding>lambdaQuery()
|
||||
.eq(EqpFeeding::getSite, site)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user