Your Name 3 years ago
parent
commit
e146355fd2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      learn/active/lib/Manage.php

+ 1 - 1
learn/active/lib/Manage.php

@@ -513,7 +513,7 @@ Class Manage
                 }
                 $where['refund_num'] = $refund_num + $data['refund_num'];
 
-                if ($type == 1 || ($price == $data['price'])) {
+                if ($type == 1 || ($price == $data['price']) || ($data['num'] == $where['refund_num'])) {
                     Dever::db('active/order')->update($where);
                 } else {
                     $where['status'] = 2;