|
|
@ -2656,7 +2656,7 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
mproducedDate = 0L; |
|
|
mproducedDate = 0L; |
|
|
} |
|
|
} |
|
|
// 获取当前库存id
|
|
|
// 获取当前库存id
|
|
|
Integer newMid = updateOrInsertInventory(paramForUpdateInventory, materialByCondition, (double) record.getQuantity(), materialById.getId(), record.getDepositoryId(), mproducedDate); |
|
|
Integer newMid = updateOrInsertInventory(paramForUpdateInventory, materialByCondition, (double) (record.getQuantity() / 100), materialById.getId(), record.getDepositoryId(), mproducedDate); |
|
|
// 修改库位库存
|
|
|
// 修改库位库存
|
|
|
paramForUpdateInventory.put("newInMid", newMid); |
|
|
paramForUpdateInventory.put("newInMid", newMid); |
|
|
paramForUpdateInventory.put("id", record.getId()); |
|
|
paramForUpdateInventory.put("id", record.getId()); |
|
|
|