xingzai 3 سال پیش
والد
کامیت
4de7c81dae
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      controllers/report.go

+ 2 - 2
controllers/report.go

@@ -113,10 +113,10 @@ func (this *ReportController) IndustryList() {
 		currentIndex = 1
 	}
 	startSize = paging.StartIndex(currentIndex, pageSize)
-	if isNewLabel != "" {
+	if isNewLabel == "1" {
 		condition += ` AND is_new_label = ` + isNewLabel
 	}
-	if isDeepLabel != "" {
+	if isDeepLabel == "1" {
 		condition += ` AND is_deep_label = ` + isDeepLabel
 	}
 	if keyWord != "" {