fengweiqiang 6 жил өмнө
parent
commit
dc283696cc

+ 1 - 1
src/jy/extract/score_jsondata.go

@@ -23,7 +23,7 @@ func JsonDataMergeProcessing(j *util.Job, e *ExtractTask) map[string][]*util.Ext
 			continue
 		}
 		//jsondata有值,res没有值,取jsondata值
-		if j.Result[v] == nil {
+		if j.Result[v] == nil || len(j.Result[v]) == 0 {
 			if v == "budget" || v == "bidamount" {
 				lockclear.Lock()
 				cfn := e.ClearFn[v]