nizongfeng 3 years ago
parent
commit
cd80bb24a6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      application/admin/service/PaymentOrderDao.php
  2. +1
    -1
      application/admin/service/ReceiptOrderDao.php

+ 1
- 1
application/admin/service/PaymentOrderDao.php View File

@@ -120,7 +120,7 @@ class PaymentOrderDao
if (!empty($param['name'])) { if (!empty($param['name'])) {
$where['a.name'] = ["like","%".$param['name']."%"]; $where['a.name'] = ["like","%".$param['name']."%"];
} }
if ($param['status'] != 'all') {
if ($param['status']."" != 'all') {
$where["a.status"] = $param['status']; $where["a.status"] = $param['status'];
} }
$offset = ($param['pageNum'] - 1) * $param['pageSize']; $offset = ($param['pageNum'] - 1) * $param['pageSize'];


+ 1
- 1
application/admin/service/ReceiptOrderDao.php View File

@@ -121,7 +121,7 @@ class ReceiptOrderDao
if (!empty($param['name'])) { if (!empty($param['name'])) {
$where['a.name'] = ["like","%".$param['name']."%"]; $where['a.name'] = ["like","%".$param['name']."%"];
} }
if ($param['status'] != 'all') {
if ($param['status']."" != 'all') {
$where["a.status"] = $param['status']; $where["a.status"] = $param['status'];
} }
$offset = ($param['pageNum'] - 1) * $param['pageSize']; $offset = ($param['pageNum'] - 1) * $param['pageSize'];


Loading…
Cancel
Save