Просмотр исходного кода

wesmiler 报恩寺项目提交

wesmiler 4 лет назад
Родитель
Сommit
2b9b849d8e
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      app/Services/WorkBooksService.php
  2. 1 1
      app/Services/WorkService.php

+ 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]);
                 }
 
             })