@@ -189,6 +189,7 @@ class Payinv extends Base{
->where(['a.is_del' => 0])
->whereIn('a.hpNo', $unique)
->column('a.id,a.payNo,a.hpNo,a.invoiceType,a.inv_fee as invoice_fee,a.status,b.companyNo,a.remark', 'a.hpNo');
+ if (empty($payArr)) return error("没有需要认证的发票");
$this->model->startTrans();
try {
$saveAll=[];