beego mysql in查询
ids := strings.Split(group.Rules, ",")var str stringfor i := 0; i < len(ids); i++ { str += ",?"}str = tools.Substr(str, 1, len(str)-1)var maps []orm.Paramsvar num int64num, err = o.Raw("select name from ywt_rule where id in("+str+")", ids).Values(&maps)