|
@@ -150,7 +150,7 @@ func CheckBaseFiccPermission(companyId int64, userId int) (ok bool, checkInfo re
|
|
|
}
|
|
|
checkInfo.CustomerInfo = customerInfo
|
|
|
// 客户状态是否为流失
|
|
|
- if productInfo.Status == "流失" {
|
|
|
+ if productInfo.Status == "流失" || productInfo.Status == "关闭" {
|
|
|
checkInfo.Type = CheckTypeApply
|
|
|
return
|
|
|
}
|
|
@@ -255,7 +255,7 @@ func CheckPermissionByPermissionIdList2Ficc(companyId int64, userId int, permiss
|
|
|
permissionCheckInfo.CustomerInfo = customerInfo
|
|
|
|
|
|
// 如果客户ficc产品的状态是流失,那么也是让去申请
|
|
|
- if companyProductInfo.Status == "流失" {
|
|
|
+ if companyProductInfo.Status == "流失" || companyProductInfo.Status == "关闭" {
|
|
|
permissionCheckInfo.Type = CheckTypeApply
|
|
|
return
|
|
|
}
|
|
@@ -375,7 +375,7 @@ func GetCheckPermission(companyId int64, userId int, permissionIdList []int) (ok
|
|
|
permissionCheckInfo.CustomerInfo = customerInfo
|
|
|
|
|
|
// 如果客户ficc产品的状态是流失,那么也是让去申请
|
|
|
- if companyProductInfo.Status == "流失" {
|
|
|
+ if companyProductInfo.Status == "流失" || companyProductInfo.Status == "关闭" {
|
|
|
permissionCheckInfo.Type = CheckTypeApply
|
|
|
return
|
|
|
}
|
|
@@ -557,7 +557,7 @@ func CheckUserChartPermission(companyId int64, userId int) (ok bool, permissionC
|
|
|
permissionCheckInfo.CustomerInfo = customerInfo
|
|
|
|
|
|
// 如果客户FICC产品的状态是流失-申请
|
|
|
- if companyProductInfo.Status == "流失" {
|
|
|
+ if companyProductInfo.Status == "流失" || companyProductInfo.Status == "关闭" {
|
|
|
permissionCheckInfo.Type = CheckTypeApply
|
|
|
return
|
|
|
}
|
|
@@ -850,7 +850,7 @@ func CheckUserSandboxPermission(companyId int64, userId, permissionId int) (ok b
|
|
|
permissionCheckInfo.CustomerInfo = customerInfo
|
|
|
|
|
|
// 如果客户FICC产品的状态是流失-申请
|
|
|
- if companyProductInfo.Status == "流失" {
|
|
|
+ if companyProductInfo.Status == "流失" || companyProductInfo.Status == "关闭" {
|
|
|
permissionCheckInfo.Type = CheckTypeApply
|
|
|
return
|
|
|
}
|