优化性能

This commit is contained in:
hoteas 2022-11-04 02:34:48 +08:00
parent d6e940803d
commit 876e3b1f45
2 changed files with 385 additions and 385 deletions

View File

@ -546,7 +546,7 @@ var TptProject = Proj{
column := that.MakeCodeRouter[hotimeName].TableColumns[tableName][k] column := that.MakeCodeRouter[hotimeName].TableColumns[tableName][k]
if column == nil || column["link"] == nil && !(column["list"] == nil || column["list"] == true) { if column == nil || column["link"] == nil || !(column["list"] == nil || column["list"] == true) || v.GetCeilInt64(column.GetString("name")) == 0 {
continue continue
} }
@ -571,7 +571,7 @@ var TptProject = Proj{
} }
reStr += column.GetString("value") reStr += column.GetString("value")
joinData := that.Db.Get(column.GetString("link"), reStr, Map{"id": v.GetCeilInt(column.GetString("name"))}) joinData := that.Db.Get(column.GetString("link"), reStr, Map{"id": v.GetCeilInt64(column.GetString("name"))})
if joinData != nil { if joinData != nil {
for kj, vj := range joinData { for kj, vj := range joinData {

File diff suppressed because it is too large Load Diff