摘要: ## 当 where 字典的值为数组时 gorm 会自动转换为条件 IN 查询 ``` where := map[string]interface{}{} where["id"] = [1,2,3] where["name"] = "zhangsan" type userList struct { 阅读全文
posted @ 2023-05-30 14:26 bhxuwei 阅读(62) 评论(0) 推荐(0)