Commit 5b6670f6 by Joneq

修改历史数据

parent cdf04047
Showing with 3 additions and 2 deletions
......@@ -26,8 +26,9 @@ func HistoryBussiness()(finalScore float64) {
modelInfo := GetModelTopsetByProjectId(4)
h_weight = StringTurnFloat64(modelInfo["weight"])
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)
fmt.Println("mapcchangdu",len(BasicInfo))
if len(BasicInfo) == 0 {
fmt.Print(BasicInfo["first_order_time"])
h_totalScore = [20]float64{0}
}
......
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