huangjiajun 3 週之前
父節點
當前提交
7984084a5b
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      app/db/db_store.go

+ 3
- 3
app/db/db_store.go 查看文件

@@ -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…
取消
儲存