瀏覽代碼

no message

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 != "" {