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

test

上级 20f92a91
...@@ -28,11 +28,11 @@ class EmPayment extends Base ...@@ -28,11 +28,11 @@ class EmPayment extends Base
->field('epi.invoice_id') ->field('epi.invoice_id')
->field('em.em_numb') ->field('em.em_numb')
->field('r.region_name,station.station_name') ->field('r.region_name,station.station_name')
->rightJoin(['em_account'=>'ea'],'ea.account_id=pay.account_id') ->leftJoin(['em_account'=>'ea'],'ea.account_id=pay.account_id')
->rightJoin(['em_payment_invoice'=>'epi'],'epi.payment_id = pay.payment_id') ->leftJoin(['em_payment_invoice'=>'epi'],'epi.payment_id = pay.payment_id')
->rightJoin(['em'],'em.id=ea.em_id') ->leftJoin(['em'],'em.id=ea.em_id')
->rightJoin(['station_info'=>'station'],'station.station_id=em.station_id') ->leftJoin(['station_info'=>'station'],'station.station_id=em.station_id')
->rightJoin(['region'=>'r'],'station.area_id = r.id') ->leftJoin(['region'=>'r'],'station.area_id = r.id')
->where($map) ->where($map)
->order('pay.id desc') ->order('pay.id desc')
->page($Nowpage, $limits) ->page($Nowpage, $limits)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论