From a8849056eebef42a33353e8652de13822f440632 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 13 十一月 2023 10:15:31 +0800 Subject: [PATCH] merge --- model/quotation.go | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/model/quotation.go b/model/quotation.go index 969d34f..1c45c24 100644 --- a/model/quotation.go +++ b/model/quotation.go @@ -88,6 +88,10 @@ if key == "client_id" || key == "sale_chance_id" || key == "member_id" { db = db.Where(key+" = ?", v) } + case []int: + if key == "member_ids" { + db = db.Where("quotation.member_id in ?", v) + } } } } -- Gitblit v1.8.0