Commit 0139cbce authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 5049334d
......@@ -483,7 +483,9 @@ class InvoiceService
$this->sendInvoiceEmail($updatedInvoiceResult);
$this->apiService->removePlatformDataEntries('invoice_callBack_'.$invoiceResponse['ddlsh'].'_applyInvoice');
}
}else{
}
}
else{
$updateInvoice['invoice_status'] = 2;
$updatedInvoiceResult = $this->invoiceRecordRepository->saveInvoice($updateInvoice);
if($updatedInvoiceResult) {
......@@ -496,7 +498,6 @@ class InvoiceService
}
}
}
}
}catch(\Throwable $exception){
SimpleLogs::writeLog($exception->getMessage(), __CLASS__.':'.__FUNCTION__, 'error');
}
......
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