diff --git a/Application/Home/Controller/FinanceController.class.php b/Application/Home/Controller/FinanceController.class.php index d2a4a626d..6c95bea64 100644 --- a/Application/Home/Controller/FinanceController.class.php +++ b/Application/Home/Controller/FinanceController.class.php @@ -289,7 +289,7 @@ class FinanceController extends BaseController $this->ajaxReturn($data); } $spendIds = $spendModel->where($map)->getField('id', true); - if (!empty($spendIds)) { + if (empty($spendIds)) { $data['status'] = 0; $data['msg'] = '数据异常'; $this->ajaxReturn($data);