📋 Status dos Canhotos
Documento a Receber:
37
Processado:
1506
Rejeitado:
1114
Validado:
1617
🖼️ Estatísticas de Imagens
Total de arquivos:
17903
Tamanho total:
5.09 GB
Tamanho médio:
298.11 KB
🗄️ Sistema
Tabelas descobertas:
27
Versão:
1.3 - Provas Visuais IA & Refinamento de Prompt
Ambiente:
development
📋 Logs Recentes
[INFO] Tabelas canhoto descobertas {"tables":["canhoto_frete_202307","canhoto_frete_202308","canhoto_frete_202408","canhoto_frete_202409","canhoto_frete_202410","canhoto_frete_202411","canhoto_frete_202412","canhoto_frete_202501","canhoto_frete_202502","canhoto_frete_202503","canhoto_frete_202504","canhoto_frete_202505","canhoto_frete_202506","canhoto_frete_202507","canhoto_frete_202508","canhoto_frete_202509","canhoto_frete_202510","canhoto_frete_202511","canhoto_frete_202512","canhoto_frete_202601","canhoto_frete_202602","canhoto_frete_202603","canhoto_frete_202604","canhoto_frete_202605","canhoto_frete_202606","canhoto_frete_202607","canhoto_frete_202608"]}
[DEBUG] Query executada {"sql":"SHOW TABLES LIKE 'canhoto_frete_%'","params":[],"execution_time":0.13645291328430176}
[DEBUG] Query executada {"sql":"\n SELECT \n status_processamento,\n COUNT(*) as total,\n AVG(tentativas) as avg_tentativas\n FROM canhotos_processamento \n GROUP BY status_processamento\n ","params":[],"execution_time":0.020162105560302734}
[INFO] Conexão Legacy fechada
[INFO] Conexão estabelecida com LegacyConnection: erp_hlog_notas
[INFO] Conexão Legacy estabelecida com sucesso {"host":"3.216.240.216","database":"erp_hlog_notas","mysql_version":"5.6.46"}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601935],"execution_time":0.01949000358581543}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601936],"execution_time":0.01926589012145996}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601937],"execution_time":0.019613027572631836}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601939],"execution_time":0.021604061126708984}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601940],"execution_time":0.01962900161743164}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601941],"execution_time":0.01899099349975586}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601942],"execution_time":0.018740177154541016}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601943],"execution_time":0.019287109375}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601944],"execution_time":0.020539045333862305}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3601945],"execution_time":0.019490957260131836}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3602021],"execution_time":0.018290996551513672}
[DEBUG] Query executada {"sql":"SELECT id, tipo, caminho_imagem FROM canhotos_validacao_visoes WHERE id_canhoto = ? ORDER BY id ASC","params":[3602026],"execution_time":0.01944589614868164}
[DEBUG] Query executada {"sql":"SELECT COUNT(CASE WHEN status_processamento = 'Documento a Receber' THEN 1 END) as pendente_imagem FROM canhotos_processamento","params":[],"execution_time":0.022891998291015625}
[DEBUG] Query executada {"sql":"SELECT \r\n COUNT(*) as total,\r\n SUM(CASE WHEN status_processamento = 'Processado' THEN 1 ELSE 0 END) as pendente_recorte,\r\n SUM(CASE WHEN status_processamento = 'Pendente IA' THEN 1 ELSE 0 END) as pendente_ia,\r\n SUM(CASE WHEN status_processamento = 'Validado' THEN 1 ELSE 0 END) as validados,\r\n SUM(CASE WHEN status_processamento = 'Rejeitado' THEN 1 ELSE 0 END) as rejeitados,\r\n SUM(CASE WHEN status_processamento = 'Processando' THEN 1 ELSE 0 END) as processando,\r\n SUM(CASE WHEN status_processamento = 'Pendente' THEN 1 ELSE 0 END) as pendentes\r\n FROM canhotos_processamento \r\n WHERE caminho_imagem IS NOT NULL","params":[],"execution_time":0.02251410484313965}