Browse Source

no message

xingzai 2 years ago
parent
commit
2df7abfaca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      services/activity_special.go

+ 1 - 0
services/activity_special.go

@@ -74,6 +74,7 @@ func ActivityLabelSpecialSql(chartPermissionIds, whichDay, activeState string) (
 	if whichDay != "" {
 		condition += `  AND art.days > 0  `
 	}
+	condition += `  AND art.label != ''  AND art.is_offline = 0   `
 
 	if activeState == "1" {
 		conditionor := " OR  ( art.days = 0 )  " + condition