dever 3 年之前
父节点
当前提交
b58a2836cc
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      service/option/lib/Account.php

+ 1 - 0
service/option/lib/Account.php

@@ -348,6 +348,7 @@ class Account
     public function getCash($id)
     {
         $where['aid'] = $id;
+        $where['status'] = 2;
         $total = Dever::db('option/bill_jiaofu')->total($where);
         $daijiaofu = $total . '条';
         $cash = Dever::db('option/cash')->select(array('aid' => $id, 'status' => 2));