ifres,err:=sess.Query("SELECT 1 from "+dialect.Quote("dashboard_acl")+" WHERE dashboard_id =? and (user_group_id=? or user_id=?)",cmd.DashboardId,cmd.UserGroupId,cmd.UserId);err!=nil{
ifres,err:=sess.Query("SELECT 1 from "+dialect.Quote("dashboard_acl")+" WHERE dashboard_id =? and (user_group_id=? or user_id=?)",cmd.DashboardId,cmd.UserGroupId,cmd.UserId);err!=nil{