Update:修复字段
This commit is contained in:
parent
cd4c003bcd
commit
7a870a641b
@ -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 = cwe.bundle_order_uuid").
|
||||
Joins("left join bundle_order_records 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 != "" {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user