From 88702f1d3db33a3ee166ba7615ae39b8a719143f Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 13 十月 2023 15:26:51 +0800
Subject: [PATCH] Merge branch 'feat-sso'

---
 model/saleChance.go |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/model/saleChance.go b/model/saleChance.go
index bc5ef40..61b4a1a 100644
--- a/model/saleChance.go
+++ b/model/saleChance.go
@@ -111,8 +111,7 @@
 					db = db.Where("expected_time LIKE ?", "%"+v+"%")
 				}
 
-			case int:
-			case float64:
+			case int, float64:
 				if key == "member_id" || key == "budget" || key == "projected_amount" {
 					db = db.Where(key+" = ?", v)
 				}

--
Gitblit v1.8.0