|
@@ -52,7 +52,7 @@ class Payment extends BaseController
|
|
|
// }
|
|
|
$page = isset($post['page'])&&$post['page']!="" ? intval($post['page']) :1;
|
|
|
$size = isset($post['size'])&&$post['size']!="" ? intval($post['size']) :10;
|
|
|
- $count = Db::name("pay_ment")->alias('b')
|
|
|
+ $count = Db::name("pay_payment")->alias('b')
|
|
|
->join("pay a","`a`.`payNo` = `b`.`payNo` AND b.is_del = 0 ",'left')
|
|
|
->where($condition)->count();
|
|
|
$total = ceil($count/$size)>1 ? ceil($count/$size) : 1;
|