15 lines
444 B
Go
15 lines
444 B
Go
package strategy
|
|
|
|
// func TotalScore(ymd int) {
|
|
// log.Println("Total Score", ymd)
|
|
// where := " where up_date_day>360 and ymd=" + utils.Int2String(ymd)
|
|
// sql := "update strat_model set total_score=industry_score+st_score+gt_amount+gt_price+roe_score+rsi_score" + where
|
|
|
|
// log.Println("SQL:", sql)
|
|
// err := impl.DBService.Exec(sql).Error
|
|
// if err != nil {
|
|
// log.Println("Failed to update total score:", err)
|
|
// return
|
|
// }
|
|
// }
|