zhangchuanxing 2 nedēļas atpakaļ
vecāks
revīzija
a35e608d45
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      controllers/roadshow/report.go

+ 1 - 1
controllers/roadshow/report.go

@@ -781,7 +781,7 @@ func (this *CalendarController) ReportCalendarList() {
 		pars = append(pars, 1)
 	}
 
-	if englishCompany > 0 {
+	if englishCompany != -1 {
 		condition += ` and b.english_company = ? `
 		pars = append(pars, englishCompany)
 	}