Documentation ¶
Overview ¶
*
- Copyright 2015 @ at3.net.
- name : comm_dao.go
- author : jarryliu
- date : 2016-11-15 19:54
- description :
- history :
*
- This file is auto generated by tto v0.4.5 !
- If you want to modify this code, please read the guide
- to modify code template. *
- Get started: https://github.com/ixre/tto *
- Copyright (C) 2021 56X.NET, All rights reserved. *
- name : portal_nav_dao_impl.go
- author : jarrysix
- date : 2021/12/12 09:09:36
- description :
- history :
*
- This file is auto generated by tto v0.4.5 !
- If you want to modify this code, please read the guide
- to modify code template. *
- Get started: https://github.com/ixre/tto *
- Copyright (C) 2021 <no value>, All rights reserved. *
- name : comm_qr_template_dao_impl.go
- author : jarrysix
- date : 2021/12/02 10:37:45
- description :
- history :
Index ¶
- func NewAppProdDao(o orm.Orm) dao.IAppProdDao
- func NewCommQrTemplateDao(o orm.Orm, sto storage.Interface) dao.ICommQrTemplateDao
- func NewPortalDao(o orm.Orm) dao.IPortalDao
- func NewRbacDao(o orm.Orm) dao.IRbacDao
- type CommonDao
- func (p *CommonDao) BatchDeletePortalFloorAd(where string, v ...interface{}) (int64, error)
- func (p *CommonDao) BatchDeletePortalFloorLink(where string, v ...interface{}) (int64, error)
- func (p *CommonDao) BatchDeletePortalNav(where string, v ...interface{}) (int64, error)
- func (p *CommonDao) BatchDeletePortalNavType(where string, v ...interface{}) (int64, error)
- func (c *CommonDao) DelQrTemplate(id int32) error
- func (p *CommonDao) DeletePortalFloorLink(primary interface{}) error
- func (p *CommonDao) DeletePortalNav(primary interface{}) error
- func (p *CommonDao) DeletePortalNavType(primary interface{}) error
- func (p *CommonDao) GetFloorAdPos(catId int32) string
- func (p *CommonDao) GetPortalFloorAd(primary interface{}) *model.PortalFloorAd
- func (p *CommonDao) GetPortalFloorLink(primary interface{}) *model.PortalFloorLink
- func (p *CommonDao) GetPortalNav(primary interface{}) *model.PortalNav
- func (p *CommonDao) GetPortalNavType(primary interface{}) *model.PortalNavType
- func (c *CommonDao) GetQrTemplate(id int32) *model.QrTemplate
- func (c *CommonDao) GetQrTemplates() []*model.QrTemplate
- func (p *CommonDao) SavePortalFloorAd(v *model.PortalFloorAd) (int, error)
- func (p *CommonDao) SavePortalFloorLink(v *model.PortalFloorLink) (int, error)
- func (p *CommonDao) SavePortalNav(v *model.PortalNav) (int, error)
- func (p *CommonDao) SavePortalNavType(v *model.PortalNavType) (int, error)
- func (c *CommonDao) SaveQrTemplate(q *model.QrTemplate) error
- func (p *CommonDao) SelectPortalFloorLink(where string, v ...interface{}) []*model.PortalFloorLink
- func (p *CommonDao) SelectPortalNav(where string, v ...interface{}) []*model.PortalNav
- func (p *CommonDao) SelectPortalNavType(where string, v ...interface{}) []*model.PortalNavType
- func (p *CommonDao) SetFloorAd(catId int32, posId int32) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommQrTemplateDao ¶
Create new CommQrTemplateDao
Types ¶
type CommonDao ¶
type CommonDao struct {
// contains filtered or unexported fields
}
func NewCommDao ¶
func (*CommonDao) BatchDeletePortalFloorAd ¶
Batch Delete PortalFloorAd
func (*CommonDao) BatchDeletePortalFloorLink ¶
Batch Delete PortalFloorLink
func (*CommonDao) BatchDeletePortalNav ¶
Batch Delete PortalNav
func (*CommonDao) BatchDeletePortalNavType ¶
Batch Delete PortalNavType
func (*CommonDao) DeletePortalFloorLink ¶
Delete PortalFloorLink
func (*CommonDao) DeletePortalNav ¶
Delete PortalNav
func (*CommonDao) DeletePortalNavType ¶
Delete PortalNavType
func (*CommonDao) GetFloorAdPos ¶
func (*CommonDao) GetPortalFloorAd ¶
func (p *CommonDao) GetPortalFloorAd(primary interface{}) *model.PortalFloorAd
Get PortalFloorAd
func (*CommonDao) GetPortalFloorLink ¶
func (p *CommonDao) GetPortalFloorLink(primary interface{}) *model.PortalFloorLink
Get PortalFloorLink
func (*CommonDao) GetPortalNav ¶
Get PortalNav
func (*CommonDao) GetPortalNavType ¶
func (p *CommonDao) GetPortalNavType(primary interface{}) *model.PortalNavType
Get PortalNavType
func (*CommonDao) GetQrTemplate ¶
func (c *CommonDao) GetQrTemplate(id int32) *model.QrTemplate
获取二维码模板
func (*CommonDao) GetQrTemplates ¶
func (c *CommonDao) GetQrTemplates() []*model.QrTemplate
获取二维码所有模板
func (*CommonDao) SavePortalFloorAd ¶
func (p *CommonDao) SavePortalFloorAd(v *model.PortalFloorAd) (int, error)
Save PortalFloorAd
func (*CommonDao) SavePortalFloorLink ¶
func (p *CommonDao) SavePortalFloorLink(v *model.PortalFloorLink) (int, error)
Save PortalFloorLink
func (*CommonDao) SavePortalNav ¶
Save PortalNav
func (*CommonDao) SavePortalNavType ¶
func (p *CommonDao) SavePortalNavType(v *model.PortalNavType) (int, error)
Save PortalNavType
func (*CommonDao) SaveQrTemplate ¶
func (c *CommonDao) SaveQrTemplate(q *model.QrTemplate) error
保存二维码模板
func (*CommonDao) SelectPortalFloorLink ¶
func (p *CommonDao) SelectPortalFloorLink(where string, v ...interface{}) []*model.PortalFloorLink
Select PortalFloorLink
func (*CommonDao) SelectPortalNav ¶
Select PortalNav
func (*CommonDao) SelectPortalNavType ¶
func (p *CommonDao) SelectPortalNavType(where string, v ...interface{}) []*model.PortalNavType
Select PortalNavType
Click to show internal directories.
Click to hide internal directories.