From 6cded5543f73512574ad311c91b69a8c2bedd06f Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Fri, 10 Oct 2025 17:11:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E8=BD=AF=E5=88=A0=E9=99=A4?= 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 ed6c9a1..8a7574b 100644 --- a/internal/dao/bundleExtend.go +++ b/internal/dao/bundleExtend.go @@ -223,7 +223,7 @@ func GetUsedRecord(req *bundle.GetUsedRecordListReq) (data []model.CostLogPo, to Table("cast_cost_log ccl"). Select("ccl.*,cwl.cost_type"). Joins("left join cast_work_log cwl on cwl.work_uuid = ccl.work_uuid"). - Where("cwl.work_status = 1") + Where("cwl.work_status = 1 and cwl.deleted_at = 0 and ccl.deleted_at = 0") if req.WorkTitle != "" { session = session.Where("ccl.work_title like ?", "%"+req.WorkTitle+"%") }