소스 검색

自动分配处理

WH01243 1 년 전
부모
커밋
0cfbb20af0
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