From cd4c003bcd733890596c1899b2d7a4459c957597 Mon Sep 17 00:00:00 2001 From: "jiaji.H" Date: Thu, 11 Jun 2026 11:20:38 +0800 Subject: [PATCH] =?UTF-8?q?Update=EF=BC=9A=E6=9B=B4=E6=96=B0=E6=A3=80?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/bundleExtend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dao/bundleExtend.go b/internal/dao/bundleExtend.go index 2a2be87..8ad68c2 100644 --- a/internal/dao/bundleExtend.go +++ b/internal/dao/bundleExtend.go @@ -592,7 +592,7 @@ func GetUsedRecord(req *bundle.GetUsedRecordListReq) (data []model.CostLogPo, to Table("cast_cost_log ccl"). Select("ccl.*,cwe.cost_type"). Joins("left join cast_work_extra cwe on cwe.work_uuid = ccl.work_uuid"). - Joins("left join bundle_order_record bor on bor.uuid = ccl.order_uuid"). + Joins("left join bundle_order_record bor on bor.uuid = cwe.bundle_order_uuid"). Where("bor.order_type = ?", req.BundleType). Where("cwe.deleted_at = 0 and ccl.deleted_at = 0 and bor.deleted_at is null") if req.WorkTitle != "" {