用户编辑
Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -20,8 +20,7 @@ class MusicianAgreementService extends Service | ... | @@ -20,8 +20,7 @@ class MusicianAgreementService extends Service | 
| 20 | */ | 20 | */ | 
| 21 | public function treatyList() | 21 | public function treatyList() | 
| 22 | { | 22 | { | 
| 23 | //->whereIn('stakeholder_id', $this->stakeholder_ids) | 23 | $res = Contract::query()->whereIn('stakeholder_id', $this->stakeholder_ids)->where('flag', 3)->where('date_ending', '>', $this->now)->with(['filesNewTreaty:id,key,link_id']) | 
| 24 | $res = Contract::query()->where('flag', 3)->where('date_ending', '>', $this->now)->with(['filesNewTreaty:id,key,link_id']) | ||
| 25 | ->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); | 24 | ->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); | 
| 26 | 25 | ||
| 27 | $client = new CosHelper(); | 26 | $client = new CosHelper(); | ... | ... | 
- 
Please register or sign in to post a comment