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
466ec124
...
466ec1248ddc81e2c51f93a467a567aa66b6d942
authored
2021-08-23 14:19:58 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
296d6017
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app/Services/MusicianWithdrawService.php
app/Services/MusicianWithdrawService.php
View file @
466ec12
...
...
@@ -23,7 +23,9 @@ class MusicianWithdrawService extends Service
->
where
([
'identifier'
=>
$this
->
identifier
->
identifier
,
'sync_status'
=>
1
])
->
whereIn
(
'serial_no'
,
$this
->
request
->
input
(
'serial_no'
))
->
select
([
'id'
,
'company_id'
])
->
get
()
->
map
(
function
(
$item
)
use
(
&
$receipt
)
{
if
(
!
empty
(
$item
->
company
))
{
$receipt
[
$item
->
company_id
]
=
[
$receipt
[]
=
[
'serial_no'
=>
$item
->
serial_no
,
'busi_id'
=>
$item
->
busi_id
,
'receipt_type'
=>
$item
->
company
->
receipt_type
,
'receipt_name'
=>
$item
->
company
->
receipt_name
,
'receipt_no'
=>
$item
->
company
->
receipt_no
,
...
...
Please
register
or
sign in
to post a comment