xingzai пре 2 година
родитељ
комит
754996b84f
1 измењених фајлова са 0 додато и 8 уклоњено
  1. 0 8
      controllers/report_billboard.go

+ 0 - 8
controllers/report_billboard.go

@@ -5,7 +5,6 @@ import (
 	"hongze/hongze_cygx/models"
 	"hongze/hongze_cygx/utils"
 	"strconv"
-	"time"
 )
 
 //报告榜单
@@ -74,14 +73,7 @@ func (this *ReportBillboardController) FllowList() {
 	if currentIndex <= 0 {
 		currentIndex = 1
 	}
-
 	startSize = paging.StartIndex(currentIndex, pageSize)
-	if isNewLabel == "1" {
-		condition += ` AND is_new_label = ` + isNewLabel
-	}
-	if isDeepLabel == "1" {
-		condition += ` AND is_deep_label = ` + isDeepLabel
-	}
 	var sqlChartPermissionId string
 	if ChartPermissionId > 0 {
 		sqlChartPermissionId += ` AND man_g.industrial_management_id IN ( SELECT industrial_management_id FROM cygx_industrial_management WHERE chart_permission_id = ` + strconv.Itoa(ChartPermissionId) + ` ) `