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/saleChance.go | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/model/saleChance.go b/model/saleChance.go index 37f9b93..a1ca0fd 100644 --- a/model/saleChance.go +++ b/model/saleChance.go @@ -114,8 +114,7 @@ db = db.Where("expected_time LIKE ?", "%"+v+"%") } - case int: - case float64: + case int, float64: if key == "member_id" || key == "budget" || key == "projected_amount" || key == "client_id" { db = db.Where(key+" = ?", v) } -- Gitblit v1.8.0