From 31e408fb7efa3b8352d420d3cb4dbf4ca7f1d47a Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期六, 31 八月 2024 16:46:44 +0800 Subject: [PATCH] 8.31 --- ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TShoppingOrderService.java | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TShoppingOrderService.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TShoppingOrderService.java index 2487ffd..c75e0b8 100644 --- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TShoppingOrderService.java +++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TShoppingOrderService.java @@ -1,7 +1,20 @@ package com.ruoyi.order.service; import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.common.core.web.domain.AjaxResult; +import com.ruoyi.common.core.web.page.PageInfo; import com.ruoyi.order.api.model.TShoppingOrder; +import com.ruoyi.order.api.query.ShoppingOrderQuery; +import com.ruoyi.order.api.query.TActivityStatisticsQuery; +import com.ruoyi.order.api.vo.TActivityStatisticslVO; +import com.ruoyi.order.api.vo.TActivityVO; +import com.ruoyi.order.dto.*; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; + +import java.math.BigDecimal; +import java.time.LocalDate; +import java.util.List; /** * <p> @@ -13,4 +26,45 @@ */ public interface TShoppingOrderService extends IService<TShoppingOrder> { + TActivityVO activityStatistics(TActivityStatisticsQuery dto); + + + /** + * 获取小程序商城购买订单列表 + * @param query + * @return + */ + List<MyShoppingOrderList> getMyShoppingOrderList(GetMyShoppingOrderList query); + + + /** + * 获取购买订单详情 + * @param id + * @return + */ + MyShoppingOrderInfo getMyShoppingOrderInfo(String id); + + + /** + * 取消订单 + * @param id + * @return + */ + AjaxResult cancelOrder(String id); + + + /** + * 获取未开票的订单列表 + * @param query + * @return + */ + List<MyShoppingOrderList> getNoInvoicedOrder(GetNoInvoicedOrder query); + + void callBack(String code,String outTradeNo); + + PageInfo<TShoppingOrder> pageList(ShoppingOrderQuery query); + + List<SixShopDto> sixBefore(LocalDate sixBefore, Integer status); + + BigDecimal getSumAmount(LocalDate sixBefore); } -- Gitblit v1.7.1