fix bug
This commit is contained in:
@@ -93,7 +93,7 @@ func Starter(ctx *gin.Context) {
|
||||
|
||||
// 加入资金流向特大的标的
|
||||
var codes []string
|
||||
impl.DBService.Model(&models.MoneyTotal{}).Where("is_greater_pervious = ? and last3_day_mf_amount>?", true, 100000).Pluck("code", &codes)
|
||||
impl.DBService.Model(&models.MoneyTotal{}).Where("is_greater_pervious = ? and last3_day_mf_amount>?", true, 100000).Order("last1_day_total_amount desc").Limit(5).Pluck("code", &codes)
|
||||
impl.DBService.Model(&models.StratModel{}).Where("ymd=? and code in ?", ymd, codes).Updates(map[string]any{"status": 2, "recommend_desc": "资金流向"})
|
||||
|
||||
// Todo: 舆论分析得出的标的
|
||||
|
||||
Reference in New Issue
Block a user