作者 tangxvhui

修复错误

@@ -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)