Browse Source

修复方法fix

xiziwen 4 months ago
parent
commit
ea378b060e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/report/outside_report.go

+ 1 - 1
models/report/outside_report.go

@@ -149,7 +149,7 @@ func GetMailOutsideReport() (items []*OutsideReport, err error) {
 }
 
 func GetMailOutsideReportHistory() (items []*OutsideReport, err error) {
-	err = global.DEFAULT_MYSQL.Where("source = 3 AND (title LIKE '海外分公司市场信息月报' OR title LIKE '区域市场信息月报') AND email_message_uid = 0 ").Find(&items).Error
+	err = global.DEFAULT_MYSQL.Where("source = 3 AND (title LIKE '%海外分公司市场信息月报%' OR title LIKE '%区域市场信息月报%') AND email_message_uid = 0 ").Find(&items).Error
 
 	return
 }