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

与缴费单功能调整

上级 21229c33
......@@ -28,9 +28,7 @@ class EmPayment extends Base
->field('epi.invoice_id')
->field('em.em_numb')
->field('r.region_name')
->leftJoin(['em_payment_invoice'=>'epi'],'epi.payment_id = pay.payment_id')
->leftJoin(['em_invoice'=>'inv'],'epi.invoice_id = inv.invoice_id')
->join(['em_account'=>'ea'],'ea.account_id = pay.account_id')
->join(['em_account'=>'ea'],'ea.account_id=pay.account_id')
->join(['em'],'em.id=ea.em_id')
->join(['station_info'=>'station'],'station.station_id=em.station_id')
->join(['region'=>'r'],'station.area_id = r.id')
......@@ -52,11 +50,7 @@ class EmPayment extends Base
->field('epi.invoice_id')
->field('em.em_numb')
->field('r.region_name')
->join(['em_payment_invoice'=>'epi'],'epi.payment_id = pay.payment_id')
->join(['em_invoice'=>'inv'],'epi.invoice_id = inv.invoice_id')
// ->leftJoin(['em_invoice_useage'=>'eiu'],'eiu.invoice_id=inv.invoice_id')
// ->leftJoin(['em_useage'=>'eu'],'eu.useage_id = eiu.useage_id')
->join(['em_account'=>'ea'],'ea.account_id = pay.account_id')
->join(['em_account'=>'ea'],'ea.account_id=pay.account_id')
->join(['em'],'em.id=ea.em_id')
->join(['station_info'=>'station'],'station.station_id=em.station_id')
->join(['region'=>'r'],'station.area_id = r.id')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论