You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
320 B
12 lines
320 B
package dao |
|
|
|
import ( |
|
"go-common/app/service/ep/footman/model" |
|
) |
|
|
|
// FindBugTemplates Find Bug Templates. |
|
func (d *Dao) FindBugTemplates(projectID string) (bugTemplate *model.BugTemplate, err error) { |
|
bugTemplate = &model.BugTemplate{} |
|
err = d.db.Where("project_id = ?", projectID).First(bugTemplate).Error |
|
return |
|
}
|
|
|