Commit a0f13474 a0f134740ca8fc5e06578ff49f19a322e2a7437d by lemon

Merge branch 'release' of gitlab.hikoon.com:zhaocong/musician-api.hikoon.com

2 parents 097f6240 847d3e2d
...@@ -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
......