|
@@ -3,6 +3,7 @@ package dao |
|
|
import "code.fnuoos.com/zhimeng/model.git/src/super/model" |
|
|
import "code.fnuoos.com/zhimeng/model.git/src/super/model" |
|
|
|
|
|
|
|
|
type AgentWithMediumDao interface { |
|
|
type AgentWithMediumDao interface { |
|
|
|
|
|
AgentWithMediumInsert(m *model.AgentWithMedium) (int64, error) |
|
|
FindAgentWithMediumList(name, state string, agentId, mediumId, page, limit int) (list []AgentWithMediumGroup, total int64, err error) |
|
|
FindAgentWithMediumList(name, state string, agentId, mediumId, page, limit int) (list []AgentWithMediumGroup, total int64, err error) |
|
|
GetAgentWithMediumByMediumIdAndAgentId(mediumId, agentId int) (medium *model.AgentWithMedium) |
|
|
GetAgentWithMediumByMediumIdAndAgentId(mediumId, agentId int) (medium *model.AgentWithMedium) |
|
|
FindAgentWithMediumListByMediumIdAll(mediumId int) (list []model.AgentWithMedium, err error) |
|
|
FindAgentWithMediumListByMediumIdAll(mediumId int) (list []model.AgentWithMedium, err error) |
|
|