Browse Source

no message

xingzai 3 years ago
parent
commit
166005c310
1 changed files with 8 additions and 7 deletions
  1. 8 7
      controllers/activity.go

+ 8 - 7
controllers/activity.go

@@ -1636,13 +1636,14 @@ func (this *ActivityCoAntroller) LabelList() {
 
 	//主题
 	if label != "" {
-		sliceLabel := strings.Split(label, ",")
-		var labelSqlStr string
-		for _, v := range sliceLabel {
-			labelSqlStr += "'" + v + "',"
-		}
-		labelSqlStr = strings.TrimRight(labelSqlStr, ",")
-		condition = `  AND art.label  NOT IN (` + labelSqlStr + `)`
+		startSize = 17
+		//sliceLabel := strings.Split(label, ",")
+		//var labelSqlStr string
+		//for _, v := range sliceLabel {
+		//	labelSqlStr += "'" + v + "',"
+		//}
+		//labelSqlStr = strings.TrimRight(labelSqlStr, ",")
+		//condition = `  AND art.label  NOT IN (` + labelSqlStr + `)`
 	} else {
 		//行业名称
 		if len(chartPermissionIds) > 0 {