Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADemoService ¶
type ADemoService interface { // GetAll 列表查询 GetAll(sqlwhere *common.SqlWhere) (*common.SqlReturn, error) // GetById 获取单条记录 GetById(id int64) (*models.ADemo, error) // CountAll 统计 CountAll() int64 // Create 添加单条记录 Create(data *models.ADemo) (int64, error) // Update 修改单条记录 Update(data *models.ADemo, columns []string) (int64, error) // RuanDelete 软删除单条记录 RuanDelete(id int64) (int64, error) // Delete 删除单条记录 Delete(id int64) (int64, error) // GetWhere Sql语句 GetWhere(sql string) []models.ADemo GetMenu(pid int) []*models.ADemo }
func NewADemoService ¶
func NewADemoService() ADemoService
Click to show internal directories.
Click to hide internal directories.