Browse Source

no message

xingzai 3 years ago
parent
commit
4de7c81dae
1 changed files with 2 additions and 2 deletions
  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 != "" {