Documentation ¶
Index ¶
- func DeleteDemoByIds(ids ...uint) error
- func GetDemo(id uint) (data models.DemoModel, err error)
- func GetDemoByWhere(where map[string]interface{}) (data models.DemoModel, err error)
- func GetDemoList(where map[string]interface{}, limit int, order string) (dataList []models.DemoModel, err error)
- func GetDemoListPage(where map[string]interface{}, page uint, pageSize uint, order string) (dataList []models.DemoModel, pagination tools.Pagination, err error)
- func SaveDemo(m *models.DemoModel) error
- func SetDemoDec(column string, value int) error
- func SetDemoInc(column string, value int) error
- func UpdateDemoByIds(values map[string]interface{}, ids ...uint) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDemoList ¶
func GetDemoList(where map[string]interface{}, limit int, order string) (dataList []models.DemoModel, err error)
*
- @Description 列表 *
func GetDemoListPage ¶
func GetDemoListPage(where map[string]interface{}, page uint, pageSize uint, order string) (dataList []models.DemoModel, pagination tools.Pagination, err error)
*
- @Description 列表(分页) *
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.