正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -69,7 +69,7 @@ func (repo *LogSmsRepository) Find(queryOptions map[string]interface{}) (int, [] | @@ -69,7 +69,7 @@ func (repo *LogSmsRepository) Find(queryOptions map[string]interface{}) (int, [] | ||
| 69 | query.Where("execute_at<=?", v) | 69 | query.Where("execute_at<=?", v) |
| 70 | } | 70 | } |
| 71 | if v, ok := queryOptions["from"]; ok { | 71 | if v, ok := queryOptions["from"]; ok { |
| 72 | - query.Where("from=?", v) | 72 | + query.Where(`"from"=?`, v) |
| 73 | } | 73 | } |
| 74 | if v, ok := queryOptions["index"]; ok { | 74 | if v, ok := queryOptions["index"]; ok { |
| 75 | query.Where("index=?", v) | 75 | query.Where("index=?", v) |
-
请 注册 或 登录 后发表评论