库存copy方法修改;

This commit is contained in:
王奎兴
2026-02-03 11:49:24 +08:00
parent 99602b3782
commit a655870fbe
@@ -528,7 +528,7 @@ public class StockShelfOrderDomainService {
BigDecimal oldAllocationQuantity = materialInventoryPO.getAllocationQuantity();
materialInventoryPO.setInventoryQuantity(newInventoryQuantity);
materialInventoryPO.setAllocationQuantity(newAllocationQuantity);
BeanUtils.copyBeanProp(materialInventoryPO, materialInventory);
BeanUtils.copyProperties(materialInventoryPO, materialInventory);
materialInventory.setUpdateBy(loginUser.getUserid());
materialInventory.setUpdateByName(loginUser.getUsername());
materialInventory.setUpdateTime(new Date());