2
This commit is contained in:
@@ -60,11 +60,6 @@ func (tp *TableParser) ParseAndRenderTable(ctx context.Context, pdf *gofpdf.Fpdf
|
||||
return nil
|
||||
}
|
||||
|
||||
tp.logger.Info("准备渲染表格",
|
||||
zap.String("field_type", fieldType),
|
||||
zap.Int("header_count", len(tableData.Headers)),
|
||||
zap.Int("row_count", len(tableData.Rows)),
|
||||
zap.Float64("pdf_current_y", pdf.GetY()))
|
||||
|
||||
// 渲染表格到PDF
|
||||
if err := tp.databaseRenderer.RenderTable(pdf, tableData); err != nil {
|
||||
@@ -72,9 +67,6 @@ func (tp *TableParser) ParseAndRenderTable(ctx context.Context, pdf *gofpdf.Fpdf
|
||||
return fmt.Errorf("渲染表格失败: %w", err)
|
||||
}
|
||||
|
||||
tp.logger.Info("表格渲染成功",
|
||||
zap.String("field_type", fieldType),
|
||||
zap.Float64("pdf_final_y", pdf.GetY()))
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user