Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
847d3e2d
...
847d3e2dba91e1b4126904652627ba5ca1a1eaa1
authored
2022-07-27 18:55:27 +0800
by
mengfan.xie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
a4e78a9f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
app/Services/IssueService.php
app/Services/IssueService.php
View file @
847d3e2
...
...
@@ -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
);
...
...
Please
register
or
sign in
to post a comment