Browse Source

no message

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

+ 1 - 1
services/activity.go

@@ -377,7 +377,7 @@ func GetUserType(companyId int) (userType int, permissionStrnew string, err erro
 				} else if permissionZhegnshiNum == 4 || permissionZhegnshiNum == 5 {
 					userType = 10
 				} else {
-					userType = 9
+					userType = 3
 				}
 			}
 		}

+ 1 - 1
services/activity_special.go

@@ -63,7 +63,7 @@ func ActivityLabelSpecialUserSql(user *models.WxUserItem) (conditionShengji, con
 		if userType != 1 && userType != 2 && userType != 10 {
 			conditionHangYe = `  art.customer_type_ids LIKE '%3%'	   AND art.chart_permission_name    IN (` + permissionZhengShiStr + `)`
 		}
-		if userType == 9 {
+		if userType == 3 {
 			conditionZhengshi = `  art.customer_type_ids LIKE '%9%'	   AND art.chart_permission_name  NOT  IN (` + permissionZhengShiStr + `)`
 		}
 	}