Documentation ¶
Index ¶
- type DbDao
- type DevDbDao
- func (d *DevDbDao) DevEditStatus(devids []int8) int64
- func (d *DevDbDao) DevInsertChange(db entity.DevDbEntity) int64
- func (d *DevDbDao) DevRemoveChange(id int) int64
- func (d *DevDbDao) GetDbChange(userid int) []entity.DevDbEntity
- func (d *DevDbDao) GetDbChangeByDb(userid int, dbid int) []entity.DevDbEntity
- type ProDbDao
- type TestDbDao
- func (d *TestDbDao) GetDbChange(userid int) []entity.TestDbEntity
- func (d *TestDbDao) GetRecently5(dbid int) []entity.TestDbEntity
- func (d *TestDbDao) GetTestInfo(where entity.TestDbEntity) []entity.TestDbEntity
- func (d *TestDbDao) GetUnPublish(dbid int) []entity.TestDbEntity
- func (d *TestDbDao) TestEditStatus(testIds []int8) int64
- func (d *TestDbDao) TestPublish(userId int, versionId string) int64
- func (d *TestDbDao) TestPublishInfo(devId int8, testId int64) int64
- type UserDao
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 (*DbDao) GetOwnerDB ¶
func (d *DbDao) GetOwnerDB(userid int) []entity.DbAttributeEntity
查看自己可管理的数据库
type DevDbDao ¶
type DevDbDao struct {
// contains filtered or unexported fields
}
func NewDevDbDao ¶
func (*DevDbDao) DevEditStatus ¶
func (*DevDbDao) DevInsertChange ¶
func (d *DevDbDao) DevInsertChange(db entity.DevDbEntity) 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 (*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 ¶
发布到线上(最后返回主键)
type TestDbDao ¶
type TestDbDao struct {
// contains filtered or unexported fields
}
func NewTestDbDao ¶
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 (*TestDbDao) TestPublish ¶
发布到测试(最后返回主键)
type UserDao ¶
type UserDao struct {
// contains filtered or unexported fields
}
func NewUserDao ¶
func (*UserDao) GetByAccount ¶
func (d *UserDao) GetByAccount(account string) *entity.UserEntity
Click to show internal directories.
Click to hide internal directories.