Commit 958585be authored by hangjun83's avatar hangjun83

发票相关接口

parent 3baed803
...@@ -37,7 +37,7 @@ class RhawnInvoicesService ...@@ -37,7 +37,7 @@ class RhawnInvoicesService
$invoiceRecord = current($invoiceRecord); $invoiceRecord = current($invoiceRecord);
switch($invoiceRecord['invoice_platform']){ switch($invoiceRecord['invoice_platform']){
case 'rhawn' : $invoiceItems = $this->invoiceRepository->getInvoiceItemsByInvoiceNumber($invoiceRecord['invoice_number']);break; case 'rhawn' : $invoiceItems = $this->invoiceRepository->getInvoiceItemsByInvoiceNumber($invoiceRecord['invoice_real_number']);break;
} }
if(!$invoiceItems){ if(!$invoiceItems){
throw new \Exception('无法查询该发票号对应明细',502); throw new \Exception('无法查询该发票号对应明细',502);
......
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