impl

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: GPL-2.0 Imports: 14 Imported by: 0

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 :

*

  • 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) 2022 56X.NET, All rights reserved. *
  • name : sys_search_word_dao_impl.go
  • author : jarrysix
  • date : 2022/01/05 10:13:57
  • description :
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppProdDao

func NewAppProdDao(o orm.Orm) dao.IAppProdDao

Create new AppProdDao

func NewCommQrTemplateDao

func NewCommQrTemplateDao(o orm.Orm, sto storage.Interface) dao.ICommQrTemplateDao

Create new CommQrTemplateDao

func NewPortalDao

func NewPortalDao(o orm.Orm) dao.IPortalDao

Create new PortalNavDao

func NewRbacDao

func NewRbacDao(o orm.Orm) dao.IRbacDao

Create new PermDeptDao

func NewSysSearchWordDao added in v0.4.4

func NewSysSearchWordDao(o orm.Orm) dao.ISysSearchWordDao

NewSysSearchWordDao Create new SysSearchWordDao

Types

type CommonDao

type CommonDao struct {
	// contains filtered or unexported fields
}

func NewCommDao

func NewCommDao(o orm.Orm, sto storage.Interface,
	adRepo ad.IAdRepo, catRepo product.ICategoryRepo) *CommonDao

func (*CommonDao) BatchDeletePortalFloorAd

func (p *CommonDao) BatchDeletePortalFloorAd(where string, v ...interface{}) (int64, error)

Batch Delete PortalFloorAd

func (p *CommonDao) BatchDeletePortalFloorLink(where string, v ...interface{}) (int64, error)

Batch Delete PortalFloorLink

func (*CommonDao) BatchDeletePortalNav

func (p *CommonDao) BatchDeletePortalNav(where string, v ...interface{}) (int64, error)

Batch Delete PortalNav

func (*CommonDao) BatchDeletePortalNavType

func (p *CommonDao) BatchDeletePortalNavType(where string, v ...interface{}) (int64, error)

Batch Delete PortalNavType

func (*CommonDao) DelQrTemplate

func (c *CommonDao) DelQrTemplate(id int32) error

删除二维码模板

func (p *CommonDao) DeletePortalFloorLink(primary interface{}) error

Delete PortalFloorLink

func (*CommonDao) DeletePortalNav

func (p *CommonDao) DeletePortalNav(primary interface{}) error

Delete PortalNav

func (*CommonDao) DeletePortalNavType

func (p *CommonDao) DeletePortalNavType(primary interface{}) error

Delete PortalNavType

func (*CommonDao) GetFloorAdPos

func (p *CommonDao) GetFloorAdPos(catId int32) string

func (*CommonDao) GetPortalFloorAd

func (p *CommonDao) GetPortalFloorAd(primary interface{}) *model.PortalFloorAd

Get PortalFloorAd

func (p *CommonDao) GetPortalFloorLink(primary interface{}) *model.PortalFloorLink

Get PortalFloorLink

func (*CommonDao) GetPortalNav

func (p *CommonDao) GetPortalNav(primary interface{}) *model.PortalNav

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 (p *CommonDao) SavePortalFloorLink(v *model.PortalFloorLink) (int, error)

Save PortalFloorLink

func (*CommonDao) SavePortalNav

func (p *CommonDao) SavePortalNav(v *model.PortalNav) (int, error)

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 (p *CommonDao) SelectPortalFloorLink(where string, v ...interface{}) []*model.PortalFloorLink

Select PortalFloorLink

func (*CommonDao) SelectPortalNav

func (p *CommonDao) SelectPortalNav(where string, v ...interface{}) []*model.PortalNav

Select PortalNav

func (*CommonDao) SelectPortalNavType

func (p *CommonDao) SelectPortalNavType(where string, v ...interface{}) []*model.PortalNavType

Select PortalNavType

func (*CommonDao) SetFloorAd

func (p *CommonDao) SetFloorAd(catId int32, posId int32) (err error)

Jump to

Keyboard shortcuts

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