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
610c2efe
...
610c2efe8e0cc133d236b48efdb59ed51c3fe7a2
authored
2022-04-15 16:11:12 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
用户编辑
1 parent
bd291975
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
app/Services/MusicianAgreementService.php
app/Services/MusicianAgreementService.php
View file @
610c2ef
...
...
@@ -20,8 +20,7 @@ class MusicianAgreementService extends Service
*/
public
function
treatyList
()
{
//->whereIn('stakeholder_id', $this->stakeholder_ids)
$res
=
Contract
::
query
()
->
where
(
'flag'
,
3
)
->
where
(
'date_ending'
,
'>'
,
$this
->
now
)
->
with
([
'filesNewTreaty:id,key,link_id'
])
$res
=
Contract
::
query
()
->
whereIn
(
'stakeholder_id'
,
$this
->
stakeholder_ids
)
->
where
(
'flag'
,
3
)
->
where
(
'date_ending'
,
'>'
,
$this
->
now
)
->
with
([
'filesNewTreaty:id,key,link_id'
])
->
select
([
'id'
,
'name as treaty_name'
,
'treaty_type'
,
'service_types as service_type'
,
'date_ending as deadline_date'
,
'music_nums as music_no'
])
->
orderByDesc
(
'created_at'
)
->
paginate
(
$this
->
pageSize
);
$client
=
new
CosHelper
();
...
...
Please
register
or
sign in
to post a comment