flow finished need to test

This commit is contained in:
Cauchy
2023-10-17 13:23:21 +08:00
parent c268fb185d
commit 99484c90e0
14 changed files with 120 additions and 70 deletions

View File

@@ -2,23 +2,19 @@ package com.peanut.modules.book.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peanut.modules.book.entity.ExpressOrder;
import com.peanut.modules.book.entity.UserAddress;
import org.springframework.stereotype.Service;
@Service
public interface ExpressOrderService extends IService<ExpressOrder> {
/**
* 新增快递订单信息
* 下单生成面单
*
* @param expressOrder 快递订单
* @return object - id
* @param userAddress
* @param expressOrder
* @throws Exception
*/
int insertNewExpressOrder(ExpressOrder expressOrder);
void placeExpressOrder(Integer userAddressId, ExpressOrder expressOrder);
// void printDeliveryBill();
//
// void expressRealTimeQuery();
void placeExpressOrder(UserAddress userAddress, ExpressOrder expressOrder) throws Exception;
}