Commit 16d68e7e 16d68e7e0430108981ef72889e6ace5577d49a00 by lemon

I

1 parent 60d081c2
...@@ -57,7 +57,7 @@ class MusicianWithdrawService extends Service ...@@ -57,7 +57,7 @@ class MusicianWithdrawService extends Service
57 $app = StakeholderIncomeSyncApp::query()->where(['serial_no'=>$this->request->serial_no, 'sync_status'=>1, 'withdraw_status'=>1])->first(); 57 $app = StakeholderIncomeSyncApp::query()->where(['serial_no'=>$this->request->serial_no, 'sync_status'=>1, 'withdraw_status'=>1])->first();
58 if (empty($app)) return Response::error(ErrorCode::WITHDRAW_NO_RECORD); 58 if (empty($app)) return Response::error(ErrorCode::WITHDRAW_NO_RECORD);
59 59
60 if ($receipt = Company::query()->where(['receipt_name'=>$app->company_id])->first()) { 60 if ($receipt = Company::query()->where(['id'=>$app->company_id])->first()) {
61 61
62 return Response::success([ 62 return Response::success([
63 'receipt_type' => $receipt->receipt_type, 63 'receipt_type' => $receipt->receipt_type,
......