dever %!s(int64=3) %!d(string=hai) anos
pai
achega
e338d2467c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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);