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
public function subCompany()
{
$company_ids = Stakeholder::query()->whereIn('id', $this->stakeholder_ids)->pluck('company_id')->toArray();
$subject = Subject::query()->whereIn('company_id', $company_ids)->get(['no as value', 'name']);
$subject = Subject::query()->whereIn('company_id', $company_ids)
->where('attr', 'like', "%3%")
->groupBy('no')
->get(['no as value', 'name']);
return Response::success($subject);
......