Przeglądaj źródła

wesmiler 报恩寺项目提交

wesmiler 4 lat temu
rodzic
commit
2b9b849d8e

+ 1 - 1
app/Services/WorkBooksService.php

@@ -57,7 +57,7 @@ class WorkBooksService extends BaseService
                 if ($status > 0) {
                     $query->where('b.status', $status);
                 } else {
-                    $query->whereIn('b.status', [1, 2]);
+                    $query->whereIn('b.status', [1, 2, 3]);
                 }
 
             })

+ 1 - 1
app/Services/WorkService.php

@@ -60,7 +60,7 @@ class WorkService extends BaseService
                 if ($status > 0) {
                     $query->where('a.status', $status);
                 } else {
-                    $query->whereIn('a.status', [1, 2, 3]);
+                    $query->whereIn('a.status', [1, 2]);
                 }
 
             })