修改修改公共beans包路径

This commit is contained in:
2025-12-31 11:18:52 +08:00
parent 30158f3fa5
commit 1ce24a84cd
11 changed files with 73 additions and 73 deletions

View File

@@ -3,15 +3,15 @@ package entity
import (
"time"
"gitee.com/red-future---jilin-g/common/do"
"gitee.com/red-future---jilin-g/common/beans"
)
// OrderStatistics 订单统计数据实体
type OrderStatistics struct {
do.MongoBaseDO `bson:",inline"`
ReportType string `bson:"report_type" json:"report_type"` // 报表类型: daily, monthly, quarterly, yearly
ReportDate time.Time `bson:"report_date" json:"report_date"` // 统计日期
Period string `bson:"period" json:"period"` // 统计周期描述: 2024-01-01, 2024-01, 2024-Q1, 2024
beans.MongoBaseDO `bson:",inline"`
ReportType string `bson:"report_type" json:"report_type"` // 报表类型: daily, monthly, quarterly, yearly
ReportDate time.Time `bson:"report_date" json:"report_date"` // 统计日期
Period string `bson:"period" json:"period"` // 统计周期描述: 2024-01-01, 2024-01, 2024-Q1, 2024
// 订单基础统计
TotalOrders int64 `bson:"total_orders" json:"total_orders"` // 总订单数