提交 3e813589 authored 作者: chengye's avatar chengye

账单按照站名批量查询

上级 0951f634
...@@ -64,7 +64,7 @@ class Invoice extends Base ...@@ -64,7 +64,7 @@ class Invoice extends Base
if($payment_status !== '' || $settle_status !== ''){ if($payment_status !== '' || $settle_status !== ''){
$pstatus = $payment_status === '' ? 0 : $payment_status; $pstatus = $payment_status === '' ? 0 : $payment_status;
$sstatus = $settle_status === '' ? 0 : $settle_status; $sstatus = $settle_status === '' ? 0 : $settle_status;
$map[] = ['status','=',$pstatus.$sstatus.'0']; $map[] = ['inv.status','=',$pstatus.$sstatus.'0'];
$this->assign('payment_status',$payment_status === '' ? '' : $payment_status); $this->assign('payment_status',$payment_status === '' ? '' : $payment_status);
$this->assign('settle_status',$settle_status === '' ? '' : $settle_status); $this->assign('settle_status',$settle_status === '' ? '' : $settle_status);
} else { } else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论