diff --git a/internal/logic/restful/starter.go b/internal/logic/restful/starter.go index d41363b..90955ac 100644 --- a/internal/logic/restful/starter.go +++ b/internal/logic/restful/starter.go @@ -41,7 +41,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).Pluck("code", &codes) impl.DBService.Model(&models.StratModel{}).Where("ai_score=-2 and code in ?", codes).Update("ai_score", 0) strategy.BootAiStart("selector", ymd)