Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
e629fa8783
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/db/db_guide_order.go

+ 2
- 2
app/db/db_guide_order.go View File

@@ -73,10 +73,10 @@ func GetGuideOrderListTotal(args map[string]string) ([]model.GuideOrder, int64)
offet := (utils.StrToInt(args["p"]) - 1) * size
sess := ZhimengDb.Where("1=1")
if args["start_time"] != "" {
sess = sess.And("create_time>=?", args["start_time"])
sess = sess.And("create_time>=?", utils.TimeStdParseUnix(args["start_time"]))
}
if args["end_time"] != "" {
sess = sess.And("create_time<=?", args["end_time"])
sess = sess.And("create_time<=?", utils.TimeStdParseUnix(args["end_time"]))
}
if args["type"] != "" {
sess = sess.And("pvd=?", args["type"])


Loading…
Cancel
Save