WH01243 1 жил өмнө
parent
commit
0cfbb20af0

+ 2 - 1
clueSync/jobutil.go

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