zhangzengfei
2024-07-08 35a0aa54cbc4112b4673b1d4a85fd447f5e24607
修改实名比对
2个文件已修改
4 ■■■■ 已修改文件
cache/cache.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
db/realPersons.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
cache/cache.go
@@ -95,7 +95,7 @@
                    logger.Error(err)
                    return
                }
                logger.Debugf(" eachNum:%d, 获取%d条人员信息", queryEachNum, len(dbPersons))
                logger.Debugf("eachNum:%d, 获取%d条人员信息", queryEachNum, len(dbPersons))
                CaptureDbMap.Lock()
                areaId := ""
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