|
12345678910111213141516 |
- package dao
-
- import (
- "applet/app/db/model"
- "xorm.io/xorm"
- )
-
- type MediumWithRoleDao interface {
- FindMediumWithRole(id int) (*[]model.MediumWithRole, error)
- FindMediumWithRoleByRoleId(id int) (*[]model.MediumWithRole, error)
- AdminDeleteBySessionForAdmId(session *xorm.Session, admId interface{}) (int64, error)
- GetMediumWithRoleByRole(id int) (m *model.MediumWithRole, err error)
- MediumWithRoleDeleteForRoleBySession(session *xorm.Session, roleId interface{}) (int64, error)
- MediumWithRoleDeleteBySession(session *xorm.Session, id interface{}) (int64, error)
- BatchAddMediumWithRoleBySession(session *xorm.Session, mm []*model.MediumWithRole) (int64, error)
- }
|