|
@@ -180,12 +180,12 @@ func EditReport(reportInfo *models.Report, req models.EditReq, sysUser *system.A
|
|
|
|
|
|
|
|
|
|
|
|
- req.IsPublicPublish = 2
|
|
|
- reportInfo.IsPublicPublish = req.IsPublicPublish
|
|
|
+
|
|
|
+
|
|
|
reportInfo.LastModifyAdminId = sysUser.AdminId
|
|
|
reportInfo.LastModifyAdminName = sysUser.RealName
|
|
|
reportInfo.ModifyTime = time.Now()
|
|
|
- updateCols := []string{"Title", "Abstract", "Author", "Frequency", "CreateTime", "IsPublicPublish", "LastModifyAdminId", "LastModifyAdminName", "ModifyTime"}
|
|
|
+ updateCols := []string{"Title", "Abstract", "Author", "Frequency", "CreateTime", "LastModifyAdminId", "LastModifyAdminName", "ModifyTime"}
|
|
|
if reportInfo.ReportSource != utils.ReportSourceOuter {
|
|
|
state, e := CheckReportCurrState(report_approve.FlowReportTypeChinese, reportInfo.ClassifyIdFirst, reportInfo.ClassifyIdSecond, reportInfo.ClassifyIdThird, models.ReportOperateEdit)
|
|
|
if e != nil {
|