库存copy方法修改;
This commit is contained in:
+1
-1
@@ -528,7 +528,7 @@ public class StockShelfOrderDomainService {
|
|||||||
BigDecimal oldAllocationQuantity = materialInventoryPO.getAllocationQuantity();
|
BigDecimal oldAllocationQuantity = materialInventoryPO.getAllocationQuantity();
|
||||||
materialInventoryPO.setInventoryQuantity(newInventoryQuantity);
|
materialInventoryPO.setInventoryQuantity(newInventoryQuantity);
|
||||||
materialInventoryPO.setAllocationQuantity(newAllocationQuantity);
|
materialInventoryPO.setAllocationQuantity(newAllocationQuantity);
|
||||||
BeanUtils.copyBeanProp(materialInventoryPO, materialInventory);
|
BeanUtils.copyProperties(materialInventoryPO, materialInventory);
|
||||||
materialInventory.setUpdateBy(loginUser.getUserid());
|
materialInventory.setUpdateBy(loginUser.getUserid());
|
||||||
materialInventory.setUpdateByName(loginUser.getUsername());
|
materialInventory.setUpdateByName(loginUser.getUsername());
|
||||||
materialInventory.setUpdateTime(new Date());
|
materialInventory.setUpdateTime(new Date());
|
||||||
|
|||||||
Reference in New Issue
Block a user