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
a0f13474
...
a0f134740ca8fc5e06578ff49f19a322e2a7437d
authored
2022-07-27 18:57:02 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'release' of gitlab.hikoon.com:zhaocong/musician-api.hikoon.com
2 parents
097f6240
847d3e2d
Hide 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 @
a0f1347
...
...
@@ -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