|
@@ -3323,7 +3323,7 @@ class UserRepository extends BaseRepository
|
|
3323
|
$subordinateContribution = [];
|
3323
|
$subordinateContribution = [];
|
|
3324
|
|
3324
|
|
|
3325
|
// 只有 业务员及以上才需要团队贡献值
|
3325
|
// 只有 业务员及以上才需要团队贡献值
|
|
3326
|
- if ($item['id'] > 1) {
|
|
|
|
|
|
3326
|
+ if ($item['user_group_id'] > 1) {
|
|
3327
|
foreach ($userContributionSumMap as $key => $value) {
|
3327
|
foreach ($userContributionSumMap as $key => $value) {
|
|
3328
|
$subordinateContribution[$key] = 0;
|
3328
|
$subordinateContribution[$key] = 0;
|
|
3329
|
if ($lowerLevelNum != 0) {
|
3329
|
if ($lowerLevelNum != 0) {
|