提交 dc91bf25 authored 作者: chengye's avatar chengye

销账测试

上级 d1ad6aaa
......@@ -278,7 +278,6 @@ class Invoice extends Base
->leftJoin(['em_payment_invoice_balance'=>'epib'],'epib.invoice_id=epi.invoice_id')
->where('epib.balance','>',0)
->where('epi.invoice_id','=',$invoice_id)->select();
dd($payments);
//如果没有找到记录 证明并没有形成对应关系
if($payments->isEmpty()) {
......@@ -290,6 +289,8 @@ class Invoice extends Base
if($payments->isEmpty()) {
return '没有销账的缴费单!';
}
dd($payments);
}
$paymentIds = [];
foreach ($payments as $payment){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论