加入购物车扣除库存逻辑修改

This commit is contained in:
GYJ
2024-06-24 15:12:39 +08:00
parent 487a9e7b6b
commit c24434b121
3 changed files with 140 additions and 78 deletions

View File

@@ -34,4 +34,6 @@ public interface TbProductMapper {
void upGroupRealSalesNumber(@Param("id") String id,@Param("number") Integer number);
}
void updateStockById(@Param("productId") String productId, @Param("num") Integer num);
}