shish 2 лет назад
Родитель
Сommit
291bec3b07
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      app-ghs/controllers/ItemController.php

+ 3 - 0
app-ghs/controllers/ItemController.php

@@ -64,6 +64,9 @@ class ItemController extends BaseController
         } elseif ($requestType == 'stockOut') {
             $where['delStatus'] = 0;
             $where['status'] = 1;
+        } elseif ($requestType == 'break') {
+            $where['delStatus'] = 0;
+            $where['status'] = 1;
         } else {
             util::fail('没有定义的请求方式');
         }