Bläddra i källkod

永续活动专项调研修改

xingzai 3 år sedan
förälder
incheckning
71684e4b26
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      controllers/activity.go

+ 1 - 1
controllers/activity.go

@@ -3340,7 +3340,7 @@ func (this *ActivityCoAntroller) LabelTypeListV5() {
 		conditionOr += ` OR (1=1 AND art.customer_type_ids LIKE '%5%'	 ` + condition + `) `
 		conditionOr += ` OR (1=1 AND art.customer_type_ids LIKE '%5%'	 ` + condition + `) `
 	}
 	}
 	if userType == 1 {
 	if userType == 1 {
-		conditionOr += ` OR (` + condition + permissionSqlStr + `) `
+		conditionOr += ` OR (1=1 ` + condition + permissionSqlStr + `) `
 	}
 	}
 
 
 	if companyProduct != nil {
 	if companyProduct != nil {