This commit is contained in:
2026-02-25 23:07:10 +08:00
parent bb57a56634
commit f29265c0e4
3 changed files with 15 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ import (
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+gt_roe+score_rsi" + where
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