cache/cache.go | 补丁 | 查看 | 原始文档 | blame | 历史 | |
db/realPersons.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
cache/cache.go
db/realPersons.go
@@ -24,7 +24,7 @@ func (l *Layouts) GetRealNamePersonList() (arr []*FeatureCacheBase, err error) { var persons []Layouts sql := "select id, tableId, person_type, feature from layouts where person_type = '1'" sql := "select id, tableId, person_type, feature from layouts" err = db.Raw(sql).Find(&persons).Error if err != nil { return nil, nil