huangjiajun hace 3 semanas
padre
commit
7984084a5b
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      app/db/db_store.go

+ 3
- 3
app/db/db_store.go Ver fichero

@@ -53,9 +53,9 @@ func GetStore(eg *xorm.Engine, arg map[string]string) []map[string]string {
where += " and " + str + "<=1000"
}
}
//if arg["city"] != "" {
// where += " and city like '%" + arg["city"] + "%'"
//}
if arg["city"] != "" {
where += " and city like '%" + arg["city"] + "%'"
}
if arg["province_id"] != "" {
where += " and province_id = '" + arg["province_id"] + "'"
}


Cargando…
Cancelar
Guardar