|
@@ -793,7 +793,7 @@ public class WeighingManagementServiceImpl extends ServiceImpl<WeighingManagemen
|
|
|
InOutWarehouseTask inOutWarehouseTask = inOutWarehouseTaskService.selectOne(new EntityWrapper<InOutWarehouseTask>()
|
|
|
.eq("in_out_task_no", warehouseInOutInfo.getInOutTaskNo()));
|
|
|
if (inOutWarehouseTask != null) {
|
|
|
- inOutWarehouseTask.setCompletedQuantity(inOutWarehouseTask.getCompletedQuantity() - warehouseInOutInfo.getNetWeight());
|
|
|
+ inOutWarehouseTask.setCompletedQuantity(inOutWarehouseTask.getCompletedQuantity() - weighingManagement1.getNetWeight()/1000);
|
|
|
inOutWarehouseTaskService.updateById(inOutWarehouseTask);
|
|
|
}
|
|
|
//已经入库的更新库存量
|