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