浏览代码

Merge branch 'CRM_14.7.2' into debug

zwxi 1 年之前
父节点
当前提交
f639fd6233
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/company.go

+ 1 - 1
controllers/company.go

@@ -692,7 +692,7 @@ func (this *CompanyController) List() {
 				if status == "全部" {
 					////如果是筛选了流失客户状态
 					if sysUser.Authority <= 0 {
-						condition += ` AND (b.seller_id=? OR status='流失')  `
+						condition += ` AND (b.seller_id=? OR status='流失' OR (b.share_seller_id = ? AND b.is_share = 1))  `
 						pars = append(pars, sysUser.AdminId)
 
 						permissionCondition += ` AND b.seller_id=? `