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

+ 4 - 0
service/option/lib/Cash.php

@@ -152,6 +152,10 @@ class Cash
         if ($audit) {
             $where['audit'] = $audit;
         }
+        $type = Dever::input('type');
+        if ($type) {
+            $where['type'] = $type;
+        }
         $table = 'option/bill_' . $table;
         if ($status == 2) {
             $data = Dever::db($table)->select($where);