lvhao 6 mesi fa
parent
commit
29b087dedb

+ 1 - 1
core/CoreApp/controllers/Returngoods.php

@@ -486,7 +486,7 @@ class Returngoods extends Start_Controller {
             }
 		    if($back_status)
             {
-                $where  .= " and back_status = '$back_status'";
+                $where  .= " and back_type = '$back_status'";
             }
             if($recorder){
                 $where  .= " and recorder = '$recorder'";

+ 1 - 1
core/CoreApp/controllers/Returngoodsexcel.php

@@ -74,7 +74,7 @@ class Returngoodsexcel extends Start_Controller {
             }
             if($back_status)
             {
-                $where  .= " and back_status = '$back_status'";
+                $where  .= " and back_type = '$back_status'";
             }
             if($recorder){
                 $where  .= " and recorder = '$recorder'";