|
@@ -86,6 +86,7 @@ type Report struct {
|
|
|
IsPublicPublish int8 `description:"是否公开发布,1:是,2:否"`
|
|
|
ReportCreateTime time.Time `description:"报告时间创建时间"`
|
|
|
InheritReportId int `description:"待继承的报告ID"`
|
|
|
+ VoiceGenerateType int `description:"音频生成方式,0:系统生成,1:人工上传"`
|
|
|
}
|
|
|
|
|
|
type ReportList struct {
|
|
@@ -722,7 +723,7 @@ func EditReportContent(reportId int, content, contentSub string) (err error) {
|
|
|
|
|
|
func AddReportSaveLog(reportId, adminId int, content, contentSub, contentStruct, canvasColor, adminName string, headResourceId, endResourceId int) (err error) {
|
|
|
o := orm.NewOrmUsingDB("rddp")
|
|
|
- sql := ` INSERT INTO report_save_log(report_id, content,content_sub,content_struct,canvas_color,head_resource_id,end_resource_id,admin_id,admin_name) VALUES (?,?,?,?,?) `
|
|
|
+ sql := ` INSERT INTO report_save_log(report_id, content,content_sub,content_struct,canvas_color,head_resource_id,end_resource_id,admin_id,admin_name) VALUES (?,?,?,?,?,?,?,?,?) `
|
|
|
_, err = o.Raw(sql, reportId, content, contentSub, contentStruct, canvasColor, headResourceId, endResourceId, adminId, adminName).Exec()
|
|
|
return
|
|
|
}
|