From e1e2fe5710a5b5cd9c19bd3aa99c998a1a613ca8 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Sat, 17 Jan 2026 17:58:01 +0800
Subject: [PATCH] 团购组件增加筛选

---
 admin/app/common/model/plus/shareholder/Apply.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/admin/app/common/model/plus/shareholder/Apply.php b/admin/app/common/model/plus/shareholder/Apply.php
index e0ec886..8df71c5 100644
--- a/admin/app/common/model/plus/shareholder/Apply.php
+++ b/admin/app/common/model/plus/shareholder/Apply.php
@@ -150,6 +150,7 @@
         }
         if ($config['become'] == '110'){
             $subordinateUserId=(new TeamRefereeModel())->where(['heads_id'=>$userId])->column('user_id');
+            $subordinateUserId[]=$userId;
             $vipNum=(new \app\common\model\user\User)->getRefereeGradeCount($subordinateUserId,$config['referee_grade_ids']);
             $supplierNum=(new \app\common\model\supplier\Supplier())->getSubordinateNum($subordinateUserId);
             $user=(new \app\common\model\user\User)->where(['user_id'=>$userId,'is_delete'=>0])->find();

--
Gitblit v1.9.2