Documentation ¶
Index ¶
- func AddCompanylist(parmas []JccJicanchuCompanylist) error
- func DeleteCompanylist(params string) error
- func EditCompanylist(params JccJicanchuCompanylist) error
- func QueryCompanylistCount() (count int, err error)
- func QueryCompanylistOnly(name string, id int64) (count int, err error)
- func QueryDatabase(params string) (count int, err error)
- type JccJicanchuCompanylist
- type T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCompanylist ¶
func AddCompanylist(parmas []JccJicanchuCompanylist) error
func DeleteCompanylist ¶
func EditCompanylist ¶
func EditCompanylist(params JccJicanchuCompanylist) error
func QueryCompanylistCount ¶
func QueryDatabase ¶
Types ¶
type JccJicanchuCompanylist ¶
type JccJicanchuCompanylist struct { Id int64 `orm:"column(id);auto" description:"ID"` Name string `orm:"column(name);size(255)" description:"公司名称" json:"name" valid:"Required"` CreatedAt int64 `orm:"column(created_at)" description:"创建时间"` UpdatedAt int64 `orm:"column(updated_at)" description:"修改时间"` DeletedAt int64 `orm:"column(deleted_at)" description:"删除时间"` IsDel int8 `orm:"column(is_del)" description:"是否删除"` }
func QueryCompanylist ¶
func QueryCompanylist(Page int, Per_page int) (list []JccJicanchuCompanylist, err error)
type T ¶
type T struct { Data []JccJicanchuCompanylist Total int Last_page int }
Click to show internal directories.
Click to hide internal directories.