|
|
@@ -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()) {
|