Commit d70517c7 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 47c83d43
...@@ -459,8 +459,8 @@ class InvoiceService ...@@ -459,8 +459,8 @@ class InvoiceService
$params['ddlsh'] = $res['invoice_number']; $params['ddlsh'] = $res['invoice_number'];
$params['status'] = $invoiceResponse['status']; $params['status'] = $invoiceResponse['status'];
switch($invoiceResponse['status']){ switch($invoiceResponse['status']){
case 2 : $params['ycyy'] = '';break; case 2 : $params['ycyy'] = '';$params['status'] = 1;break;
case 3 : $params['ycyy'] = $invoiceResponse['ycyy'];break; case 3 : $params['ycyy'] = $invoiceResponse['ycyy'];$params['status'] = 2;break;
} }
$this->apiService->storePlatformDataEntries('invoice_callBack_'.$res['invoice_number'].'_applyInvoice',$params); $this->apiService->storePlatformDataEntries('invoice_callBack_'.$res['invoice_number'].'_applyInvoice',$params);
$queueParams = ['params' => $params,'type' => 'applyInvoiceCallBack']; $queueParams = ['params' => $params,'type' => 'applyInvoiceCallBack'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment