Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Company ¶
type Company struct { ID string `gorm:"id" json:"id"` // id Code string `gorm:"code" json:"code"` // 编码 Market string `gorm:"market" json:"market"` // 市场 Name string `gorm:"name" json:"name"` // 名称 }
companies
type CompanyQueryCondition ¶
type CompanyQueryCondition struct { ID *string // id IDs *[]string // ids Code *string // 编码 Market *string // 市场 Name *string // 名称 OrderBy string *dbo.Pager }
func (CompanyQueryCondition) GetConditions ¶
func (c CompanyQueryCondition) GetConditions() ([]string, []any)
func (CompanyQueryCondition) GetOrderBy ¶
func (c CompanyQueryCondition) GetOrderBy() string
func (CompanyQueryCondition) GetPager ¶
func (c CompanyQueryCondition) GetPager() *dbo.Pager
type Kv ¶
type KvQueryCondition ¶
type KvQueryCondition struct { Code *string // 市场 Date *string // 时间YYYYMMDD Key *string // 属性 Value *float64 // 值 OrderBy string *dbo.Pager }
func (KvQueryCondition) GetConditions ¶
func (c KvQueryCondition) GetConditions() ([]string, []any)
func (KvQueryCondition) GetOrderBy ¶
func (c KvQueryCondition) GetOrderBy() string
func (KvQueryCondition) GetPager ¶
func (c KvQueryCondition) GetPager() *dbo.Pager
type Market ¶
type Market struct { Market string `gorm:"market" json:"market"` // 编码 Name string `gorm:"name" json:"name"` // 名称 }
markets
type MarketQueryCondition ¶
type MarketQueryCondition struct { Market *string // 编码 Name *string // 名称 OrderBy string *dbo.Pager }
func (MarketQueryCondition) GetConditions ¶
func (c MarketQueryCondition) GetConditions() ([]string, []any)
func (MarketQueryCondition) GetOrderBy ¶
func (c MarketQueryCondition) GetOrderBy() string
func (MarketQueryCondition) GetPager ¶
func (c MarketQueryCondition) GetPager() *dbo.Pager
Click to show internal directories.
Click to hide internal directories.