Commit a14fe171 by Joneq

增加加分项的使用

parent cc237398
Showing with 7 additions and 1 deletions
package detail
import "strconv"
//加分项30分)
func AddScore()(finalScore float64) {
......@@ -8,7 +10,11 @@ func AddScore()(finalScore float64) {
)
for _,v :=range CompanyAddScore{
sumScore += StringTurnFloat64(v["final_score"])
projectId,_ := strconv.Atoi(v["project_id"])
sumScore += GetScore(int64(projectId),v["info"])
SetScore(e_currentScore,int64(projectId))
SetInsertScoreChanFooter(1,5,int8(projectId))
}
//经过权重计算之后的总分值
......
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