Merge branch 'release' of gitlab.hikoon.com:zhaocong/musician-api.hikoon.com
Showing
1 changed file
with
4 additions
and
1 deletions
... | @@ -59,7 +59,10 @@ class IssueService extends Service | ... | @@ -59,7 +59,10 @@ class IssueService extends Service |
59 | public function subCompany() | 59 | public function subCompany() |
60 | { | 60 | { |
61 | $company_ids = Stakeholder::query()->whereIn('id', $this->stakeholder_ids)->pluck('company_id')->toArray(); | 61 | $company_ids = Stakeholder::query()->whereIn('id', $this->stakeholder_ids)->pluck('company_id')->toArray(); |
62 | $subject = Subject::query()->whereIn('company_id', $company_ids)->get(['no as value', 'name']); | 62 | $subject = Subject::query()->whereIn('company_id', $company_ids) |
63 | ->where('attr', 'like', "%3%") | ||
64 | ->groupBy('no') | ||
65 | ->get(['no as value', 'name']); | ||
63 | 66 | ||
64 | return Response::success($subject); | 67 | return Response::success($subject); |
65 | 68 | ... | ... |
-
Please register or sign in to post a comment