提交 88cbf37a authored 作者: chengye's avatar chengye

账单添加抄表日期查询

上级 57b929cc
...@@ -64,6 +64,8 @@ class EmInvoice extends Base ...@@ -64,6 +64,8 @@ class EmInvoice extends Base
->field('inv.*') ->field('inv.*')
->join(['em_account'=>'ea'],'ea.account_id = inv.account_id') ->join(['em_account'=>'ea'],'ea.account_id = inv.account_id')
->join(['em'],'em.id=ea.em_id') ->join(['em'],'em.id=ea.em_id')
->join(['em_invoice_useage'=>'eiu'],'eiu.invoice_id = inv.invoice_id')
->join(['em_useage'=>'eu'],'eu.useage_id = eiu.useage_id')
->join(['station_info'=>'station'],'station.station_id=em.station_id') ->join(['station_info'=>'station'],'station.station_id=em.station_id')
->where($map) ->where($map)
->count(); ->count();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论