|
@@ -95,6 +95,8 @@ func (this *SmartReportController) Add() {
|
|
|
item.State = smart_report.SmartReportStateWaitPublish
|
|
|
item.CreateTime = time.Now().Local()
|
|
|
item.ModifyTime = time.Now().Local()
|
|
|
+ item.ContentModifyTime = time.Now().Local()
|
|
|
+
|
|
|
// 继承报告
|
|
|
if req.AddType == 2 {
|
|
|
ob := new(smart_report.SmartReport)
|
|
@@ -453,7 +455,7 @@ func (this *SmartReportController) Publish() {
|
|
|
recordItem := &models.ReportStateRecord{
|
|
|
ReportId: req.SmartReportId,
|
|
|
ReportType: 2,
|
|
|
- State: req.PublishState,
|
|
|
+ State: req.PublishState,
|
|
|
AdminId: this.SysUser.AdminId,
|
|
|
AdminName: this.SysUser.AdminName,
|
|
|
CreateTime: time.Now(),
|