修改修改公共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

@@ -8,7 +8,7 @@ import (
"order/consts"
"order/model/entity"
"gitee.com/red-future---jilin-g/common/do"
"gitee.com/red-future---jilin-g/common/beans"
"gitee.com/red-future---jilin-g/common/mongo"
"go.mongodb.org/mongo-driver/v2/bson"
@@ -56,7 +56,7 @@ func (dao *OrderQuarterlyStatisticsDAO) GenerateStatistics(ctx context.Context,
// 如果没有数据,创建空统计
if len(orders) == 0 {
statistics := &entity.OrderQuarterlyStatistics{
MongoBaseDO: do.MongoBaseDO{
MongoBaseDO: beans.MongoBaseDO{
TenantId: tenantID,
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
@@ -128,7 +128,7 @@ func (dao *OrderQuarterlyStatisticsDAO) GenerateStatistics(ctx context.Context,
topAssetID, topAssetName, topAssetCount := dao.findTopAsset(assetCounts, orders)
statistics := &entity.OrderQuarterlyStatistics{
MongoBaseDO: do.MongoBaseDO{
MongoBaseDO: beans.MongoBaseDO{
TenantId: tenantID,
CreatedAt: time.Now(),
UpdatedAt: time.Now(),