zhangqian
2023-10-13 250cbfa1ddcb3cf38e0d0505c1c7e282b940d25b
model/contact.go
@@ -93,8 +93,10 @@
               }
            }
         case int:
         case int64:
         case float64:
            if key == "client_id" {
               db = db.Where("client_id = ?", v)
               db = db.Where("client_id = ? and is_first = true", v)
            }
         }
      }