Commit cdf04047 by Joneq

修改历史数据

parent 9bf11347
Showing with 7 additions and 1 deletions
package detail
import (
"fmt"
"strconv"
)
......@@ -24,7 +25,12 @@ func HistoryBussiness()(finalScore float64) {
modelInfo := GetModelTopsetByProjectId(4)
h_weight = StringTurnFloat64(modelInfo["weight"])
h_totalScore := [20]float64{0}
if BasicInfo["first_order_time"] == "" && BasicInfo["total_order_amount"] == "" && BasicInfo["total_gross_profit"] == "" && BasicInfo["total_delay_times"] == "" && BasicInfo["recently_three_average_amount"] == "" && BasicInfo["recently_six_max_amount"] == "" {
fmt.Print(BasicInfo)
h_totalScore = [20]float64{0}
}
finalScore = SetProjectScore(h_totalScore,h_weight,StringTurnFloat64(modelInfo["full_score"]))
SetInsertScoreChanFooter(1,0,4)
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