mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	统计:交易统计Review修改
This commit is contained in:
		| @@ -1,9 +1,5 @@ | ||||
| package cn.iocoder.yudao.module.trade.api.aftersale; | ||||
|  | ||||
| import cn.iocoder.yudao.module.trade.api.aftersale.dto.AfterSaleSummaryRespDTO; | ||||
|  | ||||
| import java.time.LocalDateTime; | ||||
|  | ||||
| /** | ||||
|  * 售后 API 接口 | ||||
|  * | ||||
| @@ -11,13 +7,4 @@ import java.time.LocalDateTime; | ||||
|  */ | ||||
| public interface TradeAfterSaleApi { | ||||
|  | ||||
|     /** | ||||
|      * 获取售后单统计 | ||||
|      * | ||||
|      * @param beginTime 起始时间 | ||||
|      * @param endTime   截止时间 | ||||
|      * @return 售后统计结果 | ||||
|      */ | ||||
|     AfterSaleSummaryRespDTO getAfterSaleSummary(LocalDateTime beginTime, LocalDateTime endTime); | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -1,22 +0,0 @@ | ||||
| package cn.iocoder.yudao.module.trade.api.aftersale.dto; | ||||
|  | ||||
| import lombok.Data; | ||||
|  | ||||
| /** | ||||
|  * 售后统计 Response DTO | ||||
|  * | ||||
|  * @author owen | ||||
|  */ | ||||
| @Data | ||||
| public class AfterSaleSummaryRespDTO { | ||||
|  | ||||
|     /** | ||||
|      * 退款订单数 | ||||
|      */ | ||||
|     private Integer afterSaleCount; | ||||
|     /** | ||||
|      * 总退款金额,单位:分 | ||||
|      */ | ||||
|     private Integer afterSaleRefundPrice; | ||||
|  | ||||
| } | ||||
| @@ -1,7 +1,5 @@ | ||||
| package cn.iocoder.yudao.module.trade.api.brokerage; | ||||
|  | ||||
| import java.time.LocalDateTime; | ||||
|  | ||||
| /** | ||||
|  * 分销 API 接口 | ||||
|  * | ||||
| @@ -9,13 +7,4 @@ import java.time.LocalDateTime; | ||||
|  */ | ||||
| public interface TradeBrokerageApi { | ||||
|  | ||||
|     /** | ||||
|      * 获取已结算的佣金金额 | ||||
|      * | ||||
|      * @param beginTime 起始时间 | ||||
|      * @param endTime   截止时间 | ||||
|      * @return 已结算的佣金金额 | ||||
|      */ | ||||
|     Integer getBrokerageSettlementPriceSummary(LocalDateTime beginTime, LocalDateTime endTime); | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -1,9 +1,7 @@ | ||||
| package cn.iocoder.yudao.module.trade.api.order; | ||||
|  | ||||
| import cn.iocoder.yudao.module.trade.api.order.dto.TradeOrderRespDTO; | ||||
| import cn.iocoder.yudao.module.trade.api.order.dto.TradeOrderSummaryRespDTO; | ||||
|  | ||||
| import java.time.LocalDateTime; | ||||
| import java.util.Collection; | ||||
| import java.util.List; | ||||
|  | ||||
| @@ -31,13 +29,4 @@ public interface TradeOrderApi { | ||||
|      */ | ||||
|     Integer getOrderStatus(Long id); | ||||
|  | ||||
|     /** | ||||
|      * 获取订单统计 | ||||
|      * | ||||
|      * @param beginTime 起始时间 | ||||
|      * @param endTime   截止时间 | ||||
|      * @return 订单统计结果 | ||||
|      */ | ||||
|     TradeOrderSummaryRespDTO getOrderSummary(LocalDateTime beginTime, LocalDateTime endTime); | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -1,26 +0,0 @@ | ||||
| package cn.iocoder.yudao.module.trade.api.order.dto; | ||||
|  | ||||
| import lombok.Data; | ||||
|  | ||||
| /** | ||||
|  * 订单统计 Response DTO | ||||
|  * | ||||
|  * @author owen | ||||
|  */ | ||||
| @Data | ||||
| public class TradeOrderSummaryRespDTO { | ||||
|  | ||||
|     /** | ||||
|      * 创建订单数 | ||||
|      */ | ||||
|     private Long orderCreateCount; | ||||
|     /** | ||||
|      * 支付订单商品数 | ||||
|      */ | ||||
|     private Integer orderPayCount; | ||||
|     /** | ||||
|      * 总支付金额,单位:分 | ||||
|      */ | ||||
|     private Integer orderPayPrice; | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 owen
					owen