Added log info in laser idle report
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Laravel Pint / pint (pull_request) Successful in 6m43s
Laravel Larastan / larastan (pull_request) Failing after 11m4s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Laravel Pint / pint (pull_request) Successful in 6m43s
Laravel Larastan / larastan (pull_request) Failing after 11m4s
This commit is contained in:
@@ -110,6 +110,18 @@ class SendLaserIdleHourReport extends Command
|
|||||||
// return (float) ($record->pump_marked_physical_count ?? 0);
|
// return (float) ($record->pump_marked_physical_count ?? 0);
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
\Log::info('Laser Idle Pump Debug', [
|
||||||
|
'plant_id' => $plant->id,
|
||||||
|
'plant' => $plant->name,
|
||||||
|
'machine' => $machineName,
|
||||||
|
'pump_rows' => $machineRecords->count(),
|
||||||
|
'pump_sum' => $pumpCount,
|
||||||
|
'pump_values' => $machineRecords
|
||||||
|
->pluck('pump_marked_physical_count')
|
||||||
|
->countBy()
|
||||||
|
->toArray(),
|
||||||
|
]);
|
||||||
|
|
||||||
$namePlateCount = $machineRecords
|
$namePlateCount = $machineRecords
|
||||||
->where('name_plate_machine_name', $machineName)
|
->where('name_plate_machine_name', $machineName)
|
||||||
->where('name_plate_marked_status', 'Marked')
|
->where('name_plate_marked_status', 'Marked')
|
||||||
|
|||||||
Reference in New Issue
Block a user