广告平台(总站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

medium_with_role_dao.go 671 B

4 months ago
12345678910111213141516
  1. package dao
  2. import (
  3. "applet/app/db/model"
  4. "xorm.io/xorm"
  5. )
  6. type MediumWithRoleDao interface {
  7. FindMediumWithRole(id int) (*[]model.MediumWithRole, error)
  8. FindMediumWithRoleByRoleId(id int) (*[]model.MediumWithRole, error)
  9. AdminDeleteBySessionForAdmId(session *xorm.Session, admId interface{}) (int64, error)
  10. GetMediumWithRoleByRole(id int) (m *model.MediumWithRole, err error)
  11. MediumWithRoleDeleteForRoleBySession(session *xorm.Session, roleId interface{}) (int64, error)
  12. MediumWithRoleDeleteBySession(session *xorm.Session, id interface{}) (int64, error)
  13. BatchAddMediumWithRoleBySession(session *xorm.Session, mm []*model.MediumWithRole) (int64, error)
  14. }