begin new project
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
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.common.utils.R;
|
||||
import com.peanut.modules.common.entity.BuyOrder;
|
||||
import com.peanut.modules.book.to.UserOrderDto;
|
||||
import com.peanut.modules.book.vo.UserOrderVo;
|
||||
import com.peanut.modules.book.vo.request.BuyOrderListRequestVo;
|
||||
import com.peanut.modules.book.vo.response.BuyOrderResponseVo;
|
||||
import com.peanut.modules.common.entity.ShopProductCourseEntity;
|
||||
|
||||
import java.io.IOException;
|
||||
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<BuyOrder> {
|
||||
|
||||
PageUtils list(Map<String, Object> params) throws Exception;
|
||||
|
||||
PageUtils getMyOrderList(Map<String, Object> params);
|
||||
|
||||
//更新订单状态
|
||||
void updateOrderStatus(Integer userId, String orderSn, String type);
|
||||
|
||||
// 查询勾选的订单是否有可合并
|
||||
List<UserOrderVo> checkOrder(Integer[] orderIds);
|
||||
|
||||
// 查询所有订单是否有可合并
|
||||
Page checkOrder(Map<String, Object> params);
|
||||
|
||||
/**
|
||||
* 订单列表
|
||||
*
|
||||
* @param requestVo
|
||||
* @return
|
||||
*/
|
||||
Page<BuyOrder> orderList(BuyOrderListRequestVo requestVo);
|
||||
|
||||
/**
|
||||
* 订单拆分发货
|
||||
*
|
||||
* @param expressCompanyCode 快递公司代码
|
||||
* @param buyOrderDetailId 订单详情 ID 列表
|
||||
*/
|
||||
R delivery(String expressCompanyCode, List<Integer> buyOrderDetailId);
|
||||
|
||||
Page<BuyOrder> getUserOrderList(UserOrderDto userOrderDto);
|
||||
|
||||
List<BuyOrder> getUserOrderStatusNum(Integer userId);
|
||||
|
||||
BuyOrderResponseVo orderDetail(String orderSn);
|
||||
|
||||
Map<String, Object> decomposeShipment(BuyOrderListRequestVo requestVo);
|
||||
|
||||
String mytest() throws IOException;
|
||||
|
||||
List<ShopProductCourseEntity> getOrderCourse(String orderSn);
|
||||
|
||||
void addCourseToUser(String payType,BuyOrder orderEntity);
|
||||
|
||||
boolean checkWlOrder(String orderSn);
|
||||
}
|
||||
Reference in New Issue
Block a user