From b391608d87bf0a6f88b6da34d3c42934eb3a52e5 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Tue, 9 Dec 2025 11:12:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=8B=A4=E5=A4=87=E8=B4=A7=E5=8D=95?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/ApprovalRecordsService.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/common/service/ApprovalRecordsService.php b/app/common/service/ApprovalRecordsService.php index 386480d..f0e33b1 100644 --- a/app/common/service/ApprovalRecordsService.php +++ b/app/common/service/ApprovalRecordsService.php @@ -76,9 +76,9 @@ class ApprovalRecordsService ->pluck('user_id') ->toArray(); $report = array_merge($report, [$request->user->uid]); - $config['where']['salesperson_id'] = ['in',$report]; + $config['where']['approver_id'] = ['in',$report]; }else{ //内勤没有负责的组时 - $config['where']['salesperson_id'] = $request->user->uid; + $config['where']['approver_id'] = $request->user->uid; } } else { $config['where']['approver_id'] = $request->user->uid; @@ -107,9 +107,9 @@ class ApprovalRecordsService ->pluck('user_id') ->toArray(); $report = array_merge($report, [$request->user->uid]); - $config['where']['salesperson_id'] = ['in',$report]; + $config['where']['approver_id'] = ['in',$report]; }else{ //内勤没有负责的组时 - $config['where']['salesperson_id'] = $request->user->uid; + $config['where']['approver_id'] = $request->user->uid; } } else { $config['where']['approver_id'] = $request->user->uid;