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

test

上级 ba352fed
...@@ -40,6 +40,10 @@ class EmPayment extends Base ...@@ -40,6 +40,10 @@ class EmPayment extends Base
->page($Nowpage, $limits) ->page($Nowpage, $limits)
->select() ->select()
->toarray(); ->toarray();
$payArr = [];
foreach ($data as $v){
$payArr[] = $v['payment_id'];
}
$data2 = self::alias('pay') $data2 = self::alias('pay')
->field('pay.*') ->field('pay.*')
...@@ -49,6 +53,7 @@ class EmPayment extends Base ...@@ -49,6 +53,7 @@ class EmPayment extends Base
->leftJoin(['station_info'=>'station'],'station.station_id=em.station_id') ->leftJoin(['station_info'=>'station'],'station.station_id=em.station_id')
->leftJoin(['region'=>'r'],'station.area_id = r.id') ->leftJoin(['region'=>'r'],'station.area_id = r.id')
->where($map) ->where($map)
->whereNotIn('pay.payment_id',$payArr)
->order('pay.id desc') ->order('pay.id desc')
->page($Nowpage, $limits) ->page($Nowpage, $limits)
->select() ->select()
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<div class="layui-col-md5"> <div class="layui-col-md5">
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label layui-text-left"> <label class="layui-form-label layui-text-left">
账户余额: 电表余额:
</label> </label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<input type="text" name="account" id="account" <input type="text" name="account" id="account"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论