pycompanylist

package
v0.0.0-...-10721fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCompanylist

func AddCompanylist(parmas []JccJicanchuCompanylist) error

func DeleteCompanylist

func DeleteCompanylist(params string) error

func EditCompanylist

func EditCompanylist(params JccJicanchuCompanylist) error

func QueryCompanylistCount

func QueryCompanylistCount() (count int, err error)

func QueryCompanylistOnly

func QueryCompanylistOnly(name string, id int64) (count int, err error)

func QueryDatabase

func QueryDatabase(params string) (count int, err error)

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL