显式抛出

This commit is contained in:
2025-11-14 17:00:28 +08:00
parent 5ccdef60ae
commit 70a26f1853

View File

@@ -40,7 +40,7 @@ public interface OrderInfoService extends IService<OrderInfo> {
OrderInfo createOrder(OrderInfoAddDTO param) throws ValidateException; OrderInfo createOrder(OrderInfoAddDTO param) throws ValidateException;
OrderInfo checkOrderPay(CheckOrderPay param) throws OrderValidateException, OrderCancelException; OrderInfo checkOrderPay(CheckOrderPay param) throws OrderValidateException, OrderCancelException, CzgException;
CzgResult<Object> mergeOrder(MergeOrderDTO param); CzgResult<Object> mergeOrder(MergeOrderDTO param);
@@ -53,8 +53,10 @@ public interface OrderInfoService extends IService<OrderInfo> {
void expired(Long orderId); void expired(Long orderId);
OrderInfo createPayOrder(Long shopId, BigDecimal amount, String remark); OrderInfo createPayOrder(Long shopId, BigDecimal amount, String remark);
void getOrderAmount(List<OrderDetail> orderDetails, BigDecimalDTO totalAmount, BigDecimalDTO packAmount, void getOrderAmount(List<OrderDetail> orderDetails, BigDecimalDTO totalAmount, BigDecimalDTO packAmount,
BigDecimalDTO tempAmount, LimitRateDTO limitRate, boolean isAllPack, Integer userAllPack, boolean isVipPrice); BigDecimalDTO tempAmount, LimitRateDTO limitRate, boolean isAllPack, Integer userAllPack, boolean isVipPrice);
Boolean printOrder(Long shopId, OrderInfoPrintDTO orderInfoPrintDTO); Boolean printOrder(Long shopId, OrderInfoPrintDTO orderInfoPrintDTO);