Browse Source

1.ipad端调整

master
huangjiajun 8 months ago
parent
commit
9c76942425
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/db/db_order_list.go

+ 1
- 1
app/db/db_order_list.go View File

@@ -158,7 +158,7 @@ func GetOrderListByIpad(eg *xorm.Engine, param map[string]string) (*[]model.Orde
for _, v := range data {
ids = append(ids, utils.IntToStr(v.Id))
}
sess.And("enterprise_id in (?) or oid like ?", php2go.Implode(",", ids), "%"+param["keyword"]+"%")
sess.And("enterprise_id in ("+php2go.Implode(",", ids)+") or oid like ?", "%"+param["keyword"]+"%")
}
if param["state"] != "" && param["state"] != "1" {
sess.And("state =?", param["state"])


Loading…
Cancel
Save