Updata:修正sql

This commit is contained in:
jiaji.H 2026-01-16 11:42:01 +08:00
parent cbe50785c3
commit e170a086af

View File

@ -876,7 +876,7 @@ func MetricsOperatingCreate(req *bundle.MetricsOperatingCreateReq) (result *bund
Joins("left join cast_work_analysis_extra cwae on cwae.analysis_uuid = cwa.uuid AND cwae.deleted_at = 0").
Where("cwa.submit_time <= ?", req.End+" 23:59:59").
Where("cwae.cost_type in ?", []int{2, 3}). // 增值类型
Where("cwa.deleted_at = 0 and cwe.deleted_at = 0").
Where("cwa.deleted_at = 0 and cwae.deleted_at = 0").
Count(&totalUploadedIncreaseDataAnalysisCount)
//====================竞品数=======================