Ver código fonte

fix: 智能研报筛选

hsun 1 ano atrás
pai
commit
6f0ebcda32
2 arquivos alterados com 5 adições e 1 exclusões
  1. 2 1
      .gitignore
  2. 3 0
      controllers/smart_report/smart_report.go

+ 2 - 1
.gitignore

@@ -16,4 +16,5 @@
 /static/images/*.svg
 eta_api.exe
 eta_api.exe~
-/static/tmpFile/*
+/static/tmpFile/*
+/etalogs

+ 3 - 0
controllers/smart_report/smart_report.go

@@ -866,6 +866,9 @@ func (this *SmartReportController) List() {
 		br.Msg = "请选择正确的时间类型"
 		return
 	}
+	if params.TimeType == "modify_time" {
+		params.TimeType = "content_modify_time"
+	}
 
 	var condition string
 	var pars []interface{}