rabin 3 năm trước cách đây
mục cha
commit
1df94cdc9f
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      service/agent/lib/Tool.php

+ 4 - 0
service/agent/lib/Tool.php

@@ -1018,6 +1018,10 @@ class Tool
 
         $where['state'] = 1;
         $where['stype'] = 5;
+        $id = Dever::input('id');
+        if ($id) {
+            $where['id'] = $id;
+        }
         $data = Dever::db('bill/sell')->select($where);
         $test = Dever::input('test');
         if ($test == 1) {