huangjiajun 1 month ago
parent
commit
7984084a5b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      app/db/db_store.go

+ 3
- 3
app/db/db_store.go View File

@@ -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"] + "'"
}


Loading…
Cancel
Save