Browse Source

更新

master
huangjiajun 6 months ago
parent
commit
955c0dacd1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/db/db_order_list.go

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

@@ -68,8 +68,8 @@ func GetOrderList(eg *xorm.Engine, param map[string]string) (*[]model.Order, int
sess.And("date = ?", param["date"]) sess.And("date = ?", param["date"])
} }
if param["make_date"] != "" { if param["make_date"] != "" {
param["date"] = strings.ReplaceAll(param["date"], "-", "")
sess.And("make_date = ?", param["date"])
param["make_date"] = strings.ReplaceAll(param["make_date"], "-", "")
sess.And("make_date = ?", param["make_date"])
} }
if param["enterprise_name"] != "" { if param["enterprise_name"] != "" {
var enterprise []model.Enterprise var enterprise []model.Enterprise


Loading…
Cancel
Save