cqp 2 месяцев назад
Родитель
Сommit
e535a90f6b
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      app/Service/DeviceWorkService.php
  2. 1 1
      app/Service/PersonWorkService.php

+ 1 - 1
app/Service/DeviceWorkService.php

@@ -1191,7 +1191,7 @@ class DeviceWorkService extends Service
                 ->where('top_depart_id', $topDepartId)
                 ->where('order_time', '>=', $monthStart)
                 ->where('order_time', '<=', $monthEnd)
-                ->where('is_create', 1)
+                ->where('is_create', 0)
                 ->where('del_time', 0)->pluck('id');
 
             if ($oldOrderIds->isNotEmpty()) {

+ 1 - 1
app/Service/PersonWorkService.php

@@ -1247,7 +1247,7 @@ class PersonWorkService extends Service
                 ->where('top_depart_id', $topDepartId)
                 ->where('order_time', '>=', $monthStart)
                 ->where('order_time', '<=', $monthEnd)
-                ->where('is_create', 1)
+                ->where('is_create', 0)
                 ->where('del_time', 0)
                 ->pluck('id');