Commit c54a35d7 authored by chase's avatar chase

fix bug

parent 5d3efa27
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<select id = "selectReportData" resultType="pwc.taxtech.atms.dpo.AnalysisSalesValueDto"> <select id = "selectReportData" resultType="pwc.taxtech.atms.dpo.AnalysisSalesValueDto">
select cell_template.row_index as rowIndex, select cell_template.row_index as rowIndex,
cell_template.column_index as columnIndex, cell_template.column_index as columnIndex,
concat(CONVERT(cell_data.data, decimal(12, 6)) + if(data_source.amount is null, 0, data_source.amount)) as data concat(CONVERT(cell_data.data, decimal(18, 4)) + if(data_source.amount is null, 0, data_source.amount)) as data
from period_cell_data cell_data from period_cell_data cell_data
left join period_cell_template cell_template left join period_cell_template cell_template
on cell_data.cell_template_id = cell_template.cell_template_id on cell_data.cell_template_id = cell_template.cell_template_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment