40 lines
1.2 KiB
Java
40 lines
1.2 KiB
Java
package com.peanut.modules.book.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.peanut.common.utils.PageUtils;
|
|
import com.peanut.modules.book.entity.BuyOrderEntity;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 订单表
|
|
*
|
|
* @author yl
|
|
* @email yl328572838@163.com
|
|
* @date 2022-08-29 15:27:44
|
|
*/
|
|
public interface BuyOrderService extends IService<BuyOrderEntity> {
|
|
|
|
PageUtils queryPage(Map<String, Object> params) throws Exception;
|
|
|
|
//更新订单状态
|
|
void updateOrderStatus(Integer userId, String orderSn, String type);
|
|
|
|
// 查询勾选的订单是否有可合并
|
|
List checkOrder(Integer[] orderIds);
|
|
|
|
// 查询所有订单是否有可合并
|
|
Page checkOrder(Map<String, Object> params);
|
|
|
|
/**
|
|
* 订单拆分发货
|
|
*
|
|
* @param expressCompanyCode 快递公司代码
|
|
* @param userAddressId 用户地址 ID
|
|
* @param buyOrderDetailId 订单详情 ID 列表
|
|
* @throws Exception exception
|
|
*/
|
|
void createSplitPackageOrder(String expressCompanyCode, Integer userAddressId, List<Integer> buyOrderDetailId) throws Exception;
|
|
} |