Commit 777d92c0 by Joneq

个人企业暂时取默认值

parent c9667e84
...@@ -15,6 +15,10 @@ func EnterPriseCredit()(finalScore float64) { ...@@ -15,6 +15,10 @@ func EnterPriseCredit()(finalScore float64) {
modelInfo := GetModelTopsetByProjectId(2) modelInfo := GetModelTopsetByProjectId(2)
e_weight = StringTurnFloat64(modelInfo["weight"]) e_weight = StringTurnFloat64(modelInfo["weight"])
//取默认值,暂时不查
e_totalScore := [20]float64{10}
finalScore = SetProjectScore(e_totalScore,e_weight,StringTurnFloat64(modelInfo["full_score"])) finalScore = SetProjectScore(e_totalScore,e_weight,StringTurnFloat64(modelInfo["full_score"]))
SetInsertScoreChanFooter(1,0,2) SetInsertScoreChanFooter(1,0,2)
return finalScore return finalScore
......
...@@ -26,6 +26,9 @@ func PersonalCredit()(finalScore float64) { ...@@ -26,6 +26,9 @@ func PersonalCredit()(finalScore float64) {
modelInfo := GetModelTopsetByProjectId(3) modelInfo := GetModelTopsetByProjectId(3)
p_weight = StringTurnFloat64(modelInfo["weight"]) p_weight = StringTurnFloat64(modelInfo["weight"])
//取默认值,暂时不查
p_totalScore := [20]float64{10}
finalScore = SetProjectScore(p_totalScore,p_weight,StringTurnFloat64(modelInfo["full_score"])) finalScore = SetProjectScore(p_totalScore,p_weight,StringTurnFloat64(modelInfo["full_score"]))
SetInsertScoreChanFooter(1,0,3) SetInsertScoreChanFooter(1,0,3)
return finalScore return finalScore
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment