Commit bf65e22b by Joneq

修改判断条件

parent a14fe171
Showing with 2 additions and 1 deletions
......@@ -15,7 +15,7 @@ func (d *dao) GetCompanyCresitsList(ctx context.Context) (res []map[string]strin
var (
rows *sql.Rows
)
if rows, err = d.db.Query(ctx, "SELECT "+SqlField+" FROM lie_com_credits where id >= 5147 "); err != nil {
if rows, err = d.db.Query(ctx, "SELECT "+SqlField+" FROM lie_com_credits where status = 5 or status = 10 "); err != nil {
err = errors.WithStack(err)
return
}
......
......@@ -27,3 +27,4 @@
[2019/11/21 10:37:59.963] [INFO] [D:/gocode/kaopu-server/cmd/main.go:24] caipu-server start
[2019/11/21 17:19:34.063] [INFO] [/usr/local/var/www/ichunt/kaopu-server/cmd/main.go:24] caipu-server start
[2019/12/19 16:18:26.263] [INFO] [/usr/local/var/www/ichunt/kaopu-server/cmd/static/main.go:56] kaopuserver start%!(EXTRA int=0)
[2020/01/02 18:27:52.584] [INFO] [/usr/local/var/www/ichunt/kaopu-server/cmd/static/main.go:56] kaopuserver-static start%!(EXTRA int=0)
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