|
|
@@ -173,7 +173,7 @@ class RangeService extends Service
|
|
|
}
|
|
|
|
|
|
//新的返回query
|
|
|
- public static function customerRange($user, $search) {
|
|
|
+ public static function customerRange2($user, $search) {
|
|
|
// 1. 负责/协同人的子查询 (基础查询)
|
|
|
$infoQuery = CustomerInfo::where('del_time', 0)
|
|
|
->where('data_id', $user['id'])
|
|
|
@@ -239,7 +239,7 @@ class RangeService extends Service
|
|
|
}
|
|
|
|
|
|
//获取客户可见数据
|
|
|
- public static function customerRange2($user,$search){
|
|
|
+ public static function customerRange($user,$search){
|
|
|
// 销售人员/负责人 3协同人 可以看见
|
|
|
$customer_id = CustomerInfo::where('del_time',0)
|
|
|
->where('data_id',$user['id'])
|