移位重量信息bug修改

This commit is contained in:
zhou-hongcheng
2026-03-18 19:09:15 +08:00
parent 1b9d92ea76
commit 1fb02bfd08
@@ -901,6 +901,10 @@ public class ShiftManageDomainService {
}else { }else {
MaterialInventoryDO materialInventoryDONow = new MaterialInventoryDO(); MaterialInventoryDO materialInventoryDONow = new MaterialInventoryDO();
BeanUtils.copyProperties(materialInventoryDb, materialInventoryDONow); BeanUtils.copyProperties(materialInventoryDb, materialInventoryDONow);
materialInventoryDONow.setNetWeight(shiftMaterialDetailPO.getNetWeight());
materialInventoryDONow.setGrossWeight(shiftMaterialDetailPO.getGrossWeight());
materialInventoryDONow.setVolume(shiftMaterialDetailPO.getVolume());
materialInventoryDONow.setArea(shiftMaterialDetailPO.getArea());
materialInventoryDONow.setInventoryQuantity(shiftMaterialDetailPO.getShiftQuantity()); materialInventoryDONow.setInventoryQuantity(shiftMaterialDetailPO.getShiftQuantity());
materialInventoryDONow.setAllocationQuantity(shiftMaterialDetailPO.getShiftQuantity()); materialInventoryDONow.setAllocationQuantity(shiftMaterialDetailPO.getShiftQuantity());
// 目标库位已存在时,用 materialMoreDetailList 覆盖批次属性(保证批次属性随移位写入) // 目标库位已存在时,用 materialMoreDetailList 覆盖批次属性(保证批次属性随移位写入)