添加订单统计方法

This commit is contained in:
2025-08-11 07:54:06 +08:00
parent 00fbeedc56
commit aaf0eed197
6 changed files with 127 additions and 1 deletions

View File

@@ -0,0 +1,34 @@
package com.ycwl.basic.model.pc.statistics.resp;
import lombok.Data;
import java.math.BigDecimal;
/**
* 订单统计响应对象
* @Author:longbinbin
* @Date:2024/12/12
*/
@Data
public class OrderStatisticsResp {
/**
* 总订单数量(来自order表,status=1或2的已支付订单)
*/
private Integer totalOrderCount;
/**
* 总订单金额(单位:元,来自order表)
*/
private BigDecimal totalOrderAmount;
/**
* 推送订单数量(来自statistics表,type=3)
*/
private Integer pushOrderCount;
/**
* 现场订单数量(来自statistics表,type=4)
*/
private Integer sceneOrderCount;
}