瀏覽代碼

小高薪

cqp 3 月之前
父節點
當前提交
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');