Преглед изворни кода

wesmiler 报恩寺项目提交

wesmiler пре 4 година
родитељ
комит
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]);
                 }
 
             })