dever 3 anos atrás
pai
commit
e338d2467c
1 arquivos alterados com 4 adições e 0 exclusões
  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);