oms库存修改;

This commit is contained in:
王奎兴
2026-05-12 09:39:48 +08:00
parent 2b281bba90
commit 515ba88f80
2 changed files with 3 additions and 3 deletions
@@ -501,7 +501,7 @@ public class ReservationMaterialInventoryImpl extends ServiceImpl<ReservationMat
BigDecimal newInventoryQuantity = oldInventoryQuantity.add(quantity);
//扣减后可用数量
BigDecimal newAllocationQuantity = oldAllocationQuantity.add(quantity);
BigDecimal newFreezeQuantity = oldFreezeQuantity.add(quantity);
//BigDecimal newFreezeQuantity = oldFreezeQuantity.add(quantity);
@@ -523,7 +523,7 @@ public class ReservationMaterialInventoryImpl extends ServiceImpl<ReservationMat
materialInventoryPO.setInventoryQuantity(newInventoryQuantity);
materialInventoryPO.setAllocationQuantity(newAllocationQuantity);
materialInventoryPO.setFreezeQuantity(newFreezeQuantity);
//materialInventoryPO.setFreezeQuantity(newFreezeQuantity);
materialInventoryPO.setArea(newArea);
materialInventoryPO.setVolume(newVolume);
materialInventoryPO.setGrossWeight(newGrossWeight);
@@ -32,7 +32,7 @@ import java.util.List;
* @date 2024-05-29
*/
@RestController
@RequestMapping("/materialInventoryApi")
@RequestMapping("/reservationMaterialInventoryApi")
@Slf4j
public class ReservationMaterialInventoryApi extends BaseController {
@Autowired