This commit is contained in:
hoteas
2022-05-03 22:40:02 +08:00
parent 7d36ad95a7
commit ce8059b0a0
16 changed files with 343 additions and 60 deletions
+2 -2
View File
@@ -133,7 +133,7 @@ var MattersCtr = Ctr{
}
if tp != "" {
data["type"] = ObjToInt("tp")
data["type"] = ObjToInt(tp)
}
startTime := that.Req.FormValue("starttime")
@@ -147,7 +147,7 @@ var MattersCtr = Ctr{
}
if len(data) > 1 {
data = Map{"AND": data}
data = Map{"AND": data, "ORDER": "modify_time DESC"}
}
count := that.Db.Count("matters", data)