oms库存修改;
This commit is contained in:
+2
-2
@@ -501,7 +501,7 @@ public class ReservationMaterialInventoryImpl extends ServiceImpl<ReservationMat
|
|||||||
BigDecimal newInventoryQuantity = oldInventoryQuantity.add(quantity);
|
BigDecimal newInventoryQuantity = oldInventoryQuantity.add(quantity);
|
||||||
//扣减后可用数量
|
//扣减后可用数量
|
||||||
BigDecimal newAllocationQuantity = oldAllocationQuantity.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.setInventoryQuantity(newInventoryQuantity);
|
||||||
materialInventoryPO.setAllocationQuantity(newAllocationQuantity);
|
materialInventoryPO.setAllocationQuantity(newAllocationQuantity);
|
||||||
materialInventoryPO.setFreezeQuantity(newFreezeQuantity);
|
//materialInventoryPO.setFreezeQuantity(newFreezeQuantity);
|
||||||
materialInventoryPO.setArea(newArea);
|
materialInventoryPO.setArea(newArea);
|
||||||
materialInventoryPO.setVolume(newVolume);
|
materialInventoryPO.setVolume(newVolume);
|
||||||
materialInventoryPO.setGrossWeight(newGrossWeight);
|
materialInventoryPO.setGrossWeight(newGrossWeight);
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ import java.util.List;
|
|||||||
* @date 2024-05-29
|
* @date 2024-05-29
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/materialInventoryApi")
|
@RequestMapping("/reservationMaterialInventoryApi")
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class ReservationMaterialInventoryApi extends BaseController {
|
public class ReservationMaterialInventoryApi extends BaseController {
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
Reference in New Issue
Block a user