Commit f91864a2 by Joneq

关闭地址不正确

parent 93fffc7e
Showing with 1 additions and 1 deletions
...@@ -15,7 +15,7 @@ func (d *dao) GetCompanyCresitsList(ctx context.Context) (res []map[string]strin ...@@ -15,7 +15,7 @@ func (d *dao) GetCompanyCresitsList(ctx context.Context) (res []map[string]strin
var ( var (
rows *sql.Rows rows *sql.Rows
) )
if rows, err = d.db.Query(ctx, "SELECT "+SqlField+" FROM lie_com_credits where status = 5 or status = 10 "); err != nil { if rows, err = d.db.Query(ctx, "SELECT "+SqlField+" FROM lie_com_credits where id > 1126 "); err != nil {
err = errors.WithStack(err) err = errors.WithStack(err)
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment