dao

package
v0.0.0-...-1f9c785 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbDao

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

func NewDbDao

func NewDbDao(engine *xorm.Engine) *DbDao

func (*DbDao) GetOwnerDB

func (d *DbDao) GetOwnerDB(userid int) []entity.DbAttributeEntity

查看自己可管理的数据库

type DevDbDao

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

func NewDevDbDao

func NewDevDbDao(engine *xorm.Engine) *DevDbDao

func (*DevDbDao) DevEditStatus

func (d *DevDbDao) DevEditStatus(devids []int8) int64

func (*DevDbDao) DevInsertChange

func (d *DevDbDao) DevInsertChange(db entity.DevDbEntity) int64

添加开发变更

func (*DevDbDao) DevRemoveChange

func (d *DevDbDao) DevRemoveChange(id int) int64

移除开发变更

func (*DevDbDao) GetDbChange

func (d *DevDbDao) GetDbChange(userid int) []entity.DevDbEntity

查看还没有发布到测试的变更内容

func (*DevDbDao) GetDbChangeByDb

func (d *DevDbDao) GetDbChangeByDb(userid int, dbid int) []entity.DevDbEntity

查看还没有发布到测试的变更内容

type ProDbDao

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

func NewProDbDao

func NewProDbDao(engine *xorm.Engine) *ProDbDao

func (*ProDbDao) GetProInfo

func (d *ProDbDao) GetProInfo(where entity.ProDbEntity) []entity.ProDbEntity

查看线上版本信息

func (*ProDbDao) GetRecently5

func (d *ProDbDao) GetRecently5(dbid int) []entity.ProDbEntity

查看最近发布到线上的5个版本

func (*ProDbDao) TestPublish

func (d *ProDbDao) TestPublish(userId int, versionId string) int64

发布到线上(最后返回主键)

func (*ProDbDao) TestPublishInfo

func (d *ProDbDao) TestPublishInfo(testId int8, onlineId int64) int64

添加线上发布详情

type TestDbDao

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

func NewTestDbDao

func NewTestDbDao(engine *xorm.Engine) *TestDbDao

func (*TestDbDao) GetDbChange

func (d *TestDbDao) GetDbChange(userid int) []entity.TestDbEntity

查看该用户所属或参与到还没有发布到线上的变更内容

func (*TestDbDao) GetRecently5

func (d *TestDbDao) GetRecently5(dbid int) []entity.TestDbEntity

查看最近发布到测试的5个版本

func (*TestDbDao) GetTestInfo

func (d *TestDbDao) GetTestInfo(where entity.TestDbEntity) []entity.TestDbEntity

查看测试版本详情

func (*TestDbDao) GetUnPublish

func (d *TestDbDao) GetUnPublish(dbid int) []entity.TestDbEntity

查看还未发布到测试的5个版本明细

func (*TestDbDao) TestEditStatus

func (d *TestDbDao) TestEditStatus(testIds []int8) int64

修改测试明细的发布状态

func (*TestDbDao) TestPublish

func (d *TestDbDao) TestPublish(userId int, versionId string) int64

发布到测试(最后返回主键)

func (*TestDbDao) TestPublishInfo

func (d *TestDbDao) TestPublishInfo(devId int8, testId int64) int64

添加测试发布详情

type UserDao

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

func NewUserDao

func NewUserDao(engine *xorm.Engine) *UserDao

func (*UserDao) GetByAccount

func (d *UserDao) GetByAccount(account string) *entity.UserEntity

Jump to

Keyboard shortcuts

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