Эх сурвалжийг харах

Merge branch 'dev_v1.5.3_wh1' of jianyu/datatools into feature/v1.5.3

王浩 1 жил өмнө
parent
commit
99ddcf135b
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      clueSync/jobutil.go

+ 2 - 1
clueSync/jobutil.go

@@ -334,8 +334,9 @@ func GetAllocation(proportion1, proportion3 float64, deptCount1, deptCount3 int6
 			cfg.AllocationRatio = math.Round(proportion1 / proportion3)
 			cfg.AllocationTime = creatorTime
 			common.WriteSysConfig(&cfg)
+			return administrators1
 		}
-		return administrators1
+
 	}
 	if nowAllocationRatio > cfg.AllocationRatio {
 		return administrators3