From f65ce9c19568745003b22e82060fb38c2885c701 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 13 十月 2023 15:36:30 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/crm

---
 model/followRecord.go |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/model/followRecord.go b/model/followRecord.go
index dc51c46..58bbb30 100644
--- a/model/followRecord.go
+++ b/model/followRecord.go
@@ -98,10 +98,8 @@
 				if key == "client_status" {
 					db = db.Joins("Client").Joins("Client.ClientStatus").Where("Client__ClientStatus.name LIKE ?", "%"+v+"%")
 				}
-			case int:
-			case int64:
-			case float64:
-				if key == "client_id" || key == "contact_id" || key == "sales_leads_id" || key == "sale_chance_id" {
+			case int, int64, float64:
+				if key == "client_id" || key == "contact_id" || key == "sales_leads_id" || key == "sale_chance_id" || key == "member_id" {
 					db = db.Where(key+" = ?", v)
 				}
 			}

--
Gitblit v1.8.0