huangjiajun 6 mesi fa
parent
commit
955c0dacd1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      app/db/db_order_list.go

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

@@ -68,8 +68,8 @@ func GetOrderList(eg *xorm.Engine, param map[string]string) (*[]model.Order, int
sess.And("date = ?", param["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"] != "" {
var enterprise []model.Enterprise


Caricamento…
Annulla
Salva