Documentation
¶
Index ¶
- func AddDocs(upd ProjectsDocs) error
- func AddNeeds(upd ProjectsNeeds) error
- func AddProject(updPro Projects) error
- func AddTask(upd ProjectsTask) error
- func AddTaskLog(upd ProjectsTaskLog) error
- func AddTeam(upd ProjectsTeam) error
- func AddTest(upd ProjectsTest) error
- func AddTestLog(upd ProjectsTestLog) error
- func AddVersions(upd ProjectsVersions) error
- func ChangeProjectNeedsStatus(id int64, status int) error
- func ChangeProjectStatus(id int64, status int) error
- func ChangeProjectTaskAccept(id int64, acceptid int64, userid int64, note string) error
- func ChangeProjectTaskStatus(id int64, userid int64, status int) error
- func ChangeProjectTestAccept(id int64, acceptid int64, userid int64, note string) error
- func ChangeProjectTestStatus(id int64, userid int64, status int, note string) error
- func CountDocs(condArr map[string]string) int64
- func CountNeeds(condArr map[string]string) int64
- func CountProject(condArr map[string]string) int64
- func CountTask(condArr map[string]string) int64
- func CountTest(condArr map[string]string) int64
- func CountVersions(condArr map[string]string) int64
- func DeleteDoc(ids string, userid int64) error
- func DeleteProjectTask(id int64) error
- func DeleteProjectTeam(id int64) error
- func DeleteProjectTest(id int64) error
- func DeleteVersion(ids string, userid int64) error
- func GetProjectDocsTitle(id int64) string
- func GetProjectName(id int64) string
- func GetProjectNeedsName(id int64) string
- func GetProjectVersionsTitle(id int64) string
- func UpdateDocs(id int64, upd ProjectsDocs) error
- func UpdateNeeds(id int64, upd ProjectsNeeds) error
- func UpdateProject(id int64, updPro Projects) error
- func UpdateTask(id int64, upd ProjectsTask) error
- func UpdateTest(id int64, upd ProjectsTest) error
- func UpdateVersions(id int64, upd ProjectsVersions) error
- type ChartProject
- func ChartProjectNeed(op string, projectId int64) (num int64, err error, need []ChartProject)
- func ChartProjectTask(op string, projectId int64) (num int64, err error, task []ChartProject)
- func ChartProjectTeam(projectId int64) (num int64, err error, team []ChartProject)
- func ChartProjectTest(op string, projectId int64) (num int64, err error, test []ChartProject)
- type ChartProjectInt
- type Projects
- type ProjectsDocs
- type ProjectsNeeds
- type ProjectsTask
- type ProjectsTaskLog
- type ProjectsTeam
- type ProjectsTest
- type ProjectsTestLog
- type ProjectsVersions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDocs ¶
func AddDocs(upd ProjectsDocs) error
func AddNeeds ¶
func AddNeeds(upd ProjectsNeeds) error
func AddProject ¶
func AddTask ¶
func AddTask(upd ProjectsTask) error
func AddTaskLog ¶
func AddTaskLog(upd ProjectsTaskLog) error
func AddTeam ¶
func AddTeam(upd ProjectsTeam) error
func AddTest ¶
func AddTest(upd ProjectsTest) error
func AddTestLog ¶
func AddTestLog(upd ProjectsTestLog) error
func AddVersions ¶
func AddVersions(upd ProjectsVersions) error
func ChangeProjectStatus ¶
func ChangeProjectTaskAccept ¶
func ChangeProjectTaskStatus ¶
func ChangeProjectTestAccept ¶
func ChangeProjectTestStatus ¶
func DeleteProjectTask ¶
func DeleteProjectTeam ¶
func DeleteProjectTest ¶
func DeleteVersion ¶
func GetProjectDocsTitle ¶
func GetProjectName ¶
func GetProjectNeedsName ¶
func GetProjectVersionsTitle ¶
func UpdateDocs ¶
func UpdateDocs(id int64, upd ProjectsDocs) error
func UpdateNeeds ¶
func UpdateNeeds(id int64, upd ProjectsNeeds) error
func UpdateProject ¶
func UpdateTask ¶
func UpdateTask(id int64, upd ProjectsTask) error
func UpdateTest ¶
func UpdateTest(id int64, upd ProjectsTest) error
func UpdateVersions ¶
func UpdateVersions(id int64, upd ProjectsVersions) error
Types ¶
type ChartProject ¶
统计项目
func ChartProjectNeed ¶
func ChartProjectNeed(op string, projectId int64) (num int64, err error, need []ChartProject)
统计需求指派人数量比例
func ChartProjectTask ¶
func ChartProjectTask(op string, projectId int64) (num int64, err error, task []ChartProject)
统计任务指派人数量比例
func ChartProjectTeam ¶
func ChartProjectTeam(projectId int64) (num int64, err error, team []ChartProject)
统计项目成员职称比例
func ChartProjectTest ¶
func ChartProjectTest(op string, projectId int64) (num int64, err error, test []ChartProject)
统计Bug指派人数量比例
type ChartProjectInt ¶
func ChartProjectNeedSource ¶
func ChartProjectNeedSource(projectId int64) (num int64, err error, need []ChartProjectInt)
func ChartProjectTaskSource ¶
func ChartProjectTaskSource(projectId int64) (num int64, err error, task []ChartProjectInt)
type Projects ¶
type Projects struct {
Id int64 `orm:"pk;column(projectid);"`
Userid int64
Name string
Aliasname string
Started int64
Ended int64
Desc string
Created int64
Status int
Projuserid int64
Produserid int64
Testuserid int64
Publuserid int64
}
func GetProject ¶
func ListMyProject ¶
type ProjectsDocs ¶
type ProjectsDocs struct {
Id int64 `orm:"pk;column(docid);"`
Projectid int64
Userid int64
Title string
Sort int
Keyword string
Content string
Url string
Attachment string
Created int64
Changed int64
}
func GetProjectDocs ¶
func GetProjectDocs(id int64) (ProjectsDocs, error)
func ListDocsForForm ¶
func ListDocsForForm(projectId int64, page, offset int) (ops []ProjectsDocs)
func ListProjectDocs ¶
func ListProjectDocs(condArr map[string]string, page int, offset int) (num int64, err error, ops []ProjectsDocs)
列表
func (*ProjectsDocs) TableName ¶
func (this *ProjectsDocs) TableName() string
type ProjectsNeeds ¶
type ProjectsNeeds struct {
Id int64 `orm:"pk;column(needsid);"`
Projectid int64
Userid int64
Name string
Desc string
Acceptid int64
Source int
Acceptance string
Level int
Tasktime int
Attachment string
Created int64
Changed int64
Stage int
Status int
}
func GetProjectNeeds ¶
func GetProjectNeeds(id int64) (ProjectsNeeds, error)
func ListNeedsForForm ¶
func ListNeedsForForm(projectId int64, page, offset int) (ops []ProjectsNeeds)
func ListProjectNeeds ¶
func ListProjectNeeds(condArr map[string]string, page int, offset int) (num int64, err error, ops []ProjectsNeeds)
列表
func (*ProjectsNeeds) TableName ¶
func (this *ProjectsNeeds) TableName() string
type ProjectsTask ¶
type ProjectsTask struct {
Id int64 `orm:"pk;column(taskid);"`
Needsid int64
Projectid int64
Userid int64
Acceptid int64
Ccid string
Completeid int64
Name string
Desc string
Note string
Type int
Level int
Tasktime int
Started int64
Ended int64
Attachment string
Created int64
Changed int64
Status int
Closeid int64
Cancelid int64
}
func GetProjectTask ¶
func GetProjectTask(id int64) (ProjectsTask, error)
func ListProjectTask ¶
func ListTaskForForm ¶
func ListTaskForForm(projectId int64, page, offset int) (ops []ProjectsTask)
func (*ProjectsTask) TableName ¶
func (this *ProjectsTask) TableName() string
type ProjectsTaskLog ¶
type ProjectsTaskLog struct {
Id int64 `orm:"pk;"`
Taskid int64
Userid int64
Note string
Created int64
}
func ListProjectTaskLog ¶
func ListProjectTaskLog(taskId int64) (ops []ProjectsTaskLog)
func (*ProjectsTaskLog) TableName ¶
func (this *ProjectsTaskLog) TableName() string
type ProjectsTeam ¶
func GetProjectTeam ¶
func GetProjectTeam(userid, projectid int64) (ProjectsTeam, error)
func ListProjectTeam ¶
func (*ProjectsTeam) TableName ¶
func (this *ProjectsTeam) TableName() string
type ProjectsTest ¶
type ProjectsTest struct {
Id int64 `orm:"pk;column(testid);"`
Taskid int64
Needsid int64
Projectid int64
Userid int64
Acceptid int64
Ccid string
Completeid int64
Name string
Desc string
Level int
Attachment string
Completed int64
Os string
Browser string
Created int64
Changed int64
Status int
}
func GetProjectTest ¶
func GetProjectTest(id int64) (ProjectsTest, error)
func ListProjectTest ¶
func (*ProjectsTest) TableName ¶
func (this *ProjectsTest) TableName() string
type ProjectsTestLog ¶
type ProjectsTestLog struct {
Id int64 `orm:"pk;"`
Testid int64
Userid int64
Note string
Created int64
}
func ListProjectTestLog ¶
func ListProjectTestLog(testId int64) (ops []ProjectsTestLog)
func (*ProjectsTestLog) TableName ¶
func (this *ProjectsTestLog) TableName() string
type ProjectsVersions ¶
type ProjectsVersions struct {
Id int64 `orm:"pk;column(versionid);"`
Projectid int64
Userid int64
Title string
Versioned int64
Content string
Sourceurl string
Downurl string
Attachment string
Created int64
Changed int64
}
func GetProjectVersions ¶
func GetProjectVersions(id int64) (ProjectsVersions, error)
func ListProjectVersions ¶
func ListProjectVersions(condArr map[string]string, page int, offset int) (num int64, err error, ops []ProjectsVersions)
列表
func ListVersionsForForm ¶
func ListVersionsForForm(projectId int64, page, offset int) (ops []ProjectsVersions)
func (*ProjectsVersions) TableName ¶
func (this *ProjectsVersions) TableName() string
Click to show internal directories.
Click to hide internal directories.