广告平台(总站长使用)
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.
 
 
 
 
 
 

17 lines
660 B

  1. package dao
  2. import (
  3. "applet/app/db/model"
  4. "xorm.io/xorm"
  5. )
  6. type AgentWithRoleDao interface {
  7. FindAgentWithRole(id int) (*[]model.AgentWithRole, error)
  8. FindAgentWithRoleByRoleId(id int) (*[]model.AgentWithRole, error)
  9. AdminDeleteBySessionForAdmId(session *xorm.Session, admId interface{}) (int64, error)
  10. GetAgentWithRoleByRole(id int) (m *model.AgentWithRole, err error)
  11. AgentWithRoleDeleteForRoleBySession(session *xorm.Session, roleId interface{}) (int64, error)
  12. AgentWithRoleDeleteBySession(session *xorm.Session, id interface{}) (int64, error)
  13. BatchAddAgentWithRoleBySession(session *xorm.Session, mm []*model.AgentWithRole) (int64, error)
  14. }