|
@@ -1,4 +1,4 @@ |
|
|
package dao |
|
|
|
|
|
|
|
|
package dao |
|
|
|
|
|
|
|
|
import ( |
|
|
import ( |
|
|
"code.fnuoos.com/zhimeng/model.git/src/model" |
|
|
"code.fnuoos.com/zhimeng/model.git/src/model" |
|
@@ -10,6 +10,7 @@ type AdminRoleDao interface { |
|
|
FindAdminRoleByRoleId(id int) (*[]model.AdminRole, error) |
|
|
FindAdminRoleByRoleId(id int) (*[]model.AdminRole, error) |
|
|
AdminDeleteBySessionForAdmId(session *xorm.Session, admId interface{}) (int64, error) |
|
|
AdminDeleteBySessionForAdmId(session *xorm.Session, admId interface{}) (int64, error) |
|
|
GetAdminRoleByRole(id int) (m *model.AdminRole, err error) |
|
|
GetAdminRoleByRole(id int) (m *model.AdminRole, err error) |
|
|
|
|
|
GetAdminRoleByAdminId(id int) (m *model.AdminRole, err error) |
|
|
AdminRoleDeleteForRoleBySession(session *xorm.Session, roleId interface{}) (int64, error) |
|
|
AdminRoleDeleteForRoleBySession(session *xorm.Session, roleId interface{}) (int64, error) |
|
|
AdminRoleDeleteBySession(session *xorm.Session, id interface{}) (int64, error) |
|
|
AdminRoleDeleteBySession(session *xorm.Session, id interface{}) (int64, error) |
|
|
BatchAddAdminRoleBySession(session *xorm.Session, mm []*model.AdminRole) (int64, error) |
|
|
BatchAddAdminRoleBySession(session *xorm.Session, mm []*model.AdminRole) (int64, error) |
|
|