Commit e4b5a541 by Joneq

增加代码

parent 7c3fa71b
...@@ -95,6 +95,9 @@ func GetScore(projectId int64, stringVal string) (fianlscore float64) { ...@@ -95,6 +95,9 @@ func GetScore(projectId int64, stringVal string) (fianlscore float64) {
case "5": case "5":
score = StringTurnFloat64(stringVal) /10000 score = StringTurnFloat64(stringVal) /10000
break break
case "7":
score = StringTurnFloat64(stringVal) /100
break
default: default:
score = StringTurnFloat64(stringVal) /1 score = StringTurnFloat64(stringVal) /1
} }
......
...@@ -92,7 +92,7 @@ func MaxBeOverdueTwoYears() { ...@@ -92,7 +92,7 @@ func MaxBeOverdueTwoYears() {
func IsBeOverdue() { func IsBeOverdue() {
p_currentScore = GetScore(23,CompanySoreFields["is_exist_now_overdue"]) p_currentScore = GetScore(24,CompanySoreFields["is_exist_now_overdue"])
p_totalScore[6]= SetScore(p_currentScore,24) p_totalScore[6]= SetScore(p_currentScore,24)
......
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