|
@@ -1342,12 +1342,12 @@ class Customer extends Base
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
$owner_staff_id = $wheres['owner_staff_id'];
|
|
$owner_staff_id = $wheres['owner_staff_id'];
|
|
|
- $owner_staff_id_arr = explode(',',$owner_staff_id);
|
|
|
|
|
- foreach ($owner_staff_id_arr as $k=>$v){
|
|
|
|
|
- if($k==0){
|
|
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// $owner_staff_id_arr = explode(',',$owner_staff_id);
|
|
|
|
|
+// foreach ($owner_staff_id_arr as $k=>$v){
|
|
|
|
|
+// if($k==0){
|
|
|
|
|
+//
|
|
|
|
|
+// }
|
|
|
|
|
+// }
|
|
|
unset($wheres['owner_staff_id']);
|
|
unset($wheres['owner_staff_id']);
|
|
|
$list = $this->model->where($where)->with(['ownerStaff','customerOther'])
|
|
$list = $this->model->where($where)->with(['ownerStaff','customerOther'])
|
|
|
->where($wheres)
|
|
->where($wheres)
|