This commit is contained in:
2026-02-27 13:43:01 +08:00
parent 3b7eeb22a9
commit f081f314ba

View File

@@ -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: 舆论分析得出的标的