From 1a376098d2e27eeb9c2af90fa501311c2035d5ab Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期三, 27 八月 2025 14:30:41 +0800 Subject: [PATCH] :zap: 对于前端修改 采购和应付 --- main-business/src/main/java/com/ruoyi/business/mapper/OfficialInventoryMapper.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/main-business/src/main/java/com/ruoyi/business/mapper/OfficialInventoryMapper.java b/main-business/src/main/java/com/ruoyi/business/mapper/OfficialInventoryMapper.java index fe7895d..17256d2 100644 --- a/main-business/src/main/java/com/ruoyi/business/mapper/OfficialInventoryMapper.java +++ b/main-business/src/main/java/com/ruoyi/business/mapper/OfficialInventoryMapper.java @@ -5,6 +5,8 @@ import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; +import java.math.BigDecimal; + /** * <p> * 姝e紡搴撳瓨琛� Mapper 鎺ュ彛 @@ -17,4 +19,7 @@ public interface OfficialInventoryMapper extends BaseMapper<OfficialInventory> { // 鑾峰彇姝e紡搴撹褰� OfficialInventory getOfficialInventoryForUpdateById(@Param("id") Long id); + + int addInventoryQuantity(@Param("id") Long officialId, + @Param("quantity") BigDecimal adjustAmount); } -- Gitblit v1.9.3