mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-17 03:31:54 +08:00
mall+order: 订单活动特殊逻辑的抽离
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package cn.iocoder.yudao.module.trade.api.order;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* 订单 API 接口
|
||||
*
|
||||
@@ -16,4 +18,13 @@ public interface TradeOrderApi {
|
||||
*/
|
||||
Long validateOrder(Long userId, Long orderItemId);
|
||||
|
||||
/**
|
||||
* 获取订单项商品购买数量总和
|
||||
*
|
||||
* @param orderIds 订单编号
|
||||
* @param skuIds sku 编号
|
||||
* @return 订单项商品购买数量总和
|
||||
*/
|
||||
Integer getOrderItemCountSumByOrderIdAndSkuId(Collection<Long> orderIds, Collection<Long> skuIds);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user