优化性能
This commit is contained in:
parent
d6e940803d
commit
876e3b1f45
4
code.go
4
code.go
@ -546,7 +546,7 @@ var TptProject = Proj{
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
@ -571,7 +571,7 @@ var TptProject = Proj{
|
||||
}
|
||||
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 {
|
||||
for kj, vj := range joinData {
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user