Browse Source

文档管理-文档列表

gmy 5 months ago
parent
commit
f0085c7fba

+ 2 - 0
models/document_manage_model/outside_report.go

@@ -39,6 +39,8 @@ type OutsideReportBO struct {
 	SysUserId       int    `orm:"column(sys_user_id)" description:"创建人id"`
 	SysUserName     string `orm:"column(sys_user_name)" description:"创建人姓名"`
 	ReportCode      string `orm:"column(report_code)" description:"报告唯一编码"`
+	ModifyTime      string `orm:"column(modify_time)" description:"最近一次修改时间"`
+	CreateTime      string `orm:"column(create_time)" description:"创建时间"`
 	AttachmentList  []*OutsideReportAttachment
 }
 

+ 3 - 0
services/document_manage_service/document_manage_service.go

@@ -339,6 +339,9 @@ func DocumentReportDetail(outsideReportId int) (*document_manage_model.OutsideRe
 		Content:         outsideReport.Content,
 		SysUserId:       outsideReport.SysUserId,
 		SysUserName:     outsideReport.SysUserName,
+		CreateTime:      outsideReport.CreateTime,
+		ModifyTime:      outsideReport.ModifyTime,
+		ReportCode:      outsideReport.ReportCode,
 		AttachmentList:  attachmentList,
 	}
 	return &outsideReportBO, nil