From 35a0aa54cbc4112b4673b1d4a85fd447f5e24607 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 08 七月 2024 02:20:32 +0800
Subject: [PATCH] 修改实名比对

---
 db/realPersons.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/db/realPersons.go b/db/realPersons.go
index 8bfee85..2f5a803 100644
--- a/db/realPersons.go
+++ b/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

--
Gitblit v1.8.0