Commit f6e66916 authored by chase's avatar chase

fix bug

parent 1b463230
......@@ -113,7 +113,7 @@
<select id = "selectReportData" resultType="pwc.taxtech.atms.dpo.AnalysisSalesValueDto">
select cell_template.row_index as rowIndex,
cell_template.column_index as columnIndex,
concat(CONVERT(cell_data.data, decimal(18, 2)) + if(data_source.amount is null, 0, data_source.amount)) as data
CONVERT(cell_data.data, decimal(18, 2)) + CONVERT(if(data_source.amount is null, 0, data_source.amount),decimal(18, 2)) as data
from period_cell_data cell_data
left join period_cell_template cell_template
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