Commit 704a1b4f by Ivan Lan

feat: 恢复 merge cell

parent 47ff0a8e
......@@ -94,13 +94,13 @@ module TalltyImportExport
end
# 合并仅有一个值的一列中所有格子
# value_living_alone_col_index_to_value_count.each_pair do |col_index, count|
# if count == 1
# sheet.merge_cells(
# Axlsx::cell_r(col_index, index) + ':' + Axlsx::cell_r(col_index, index + payload.max_matrix_height - 1)
# )
# end
# end
value_living_alone_col_index_to_value_count.each_pair do |col_index, count|
if count == 1
sheet.merge_cells(
Axlsx::cell_r(col_index, index) + ':' + Axlsx::cell_r(col_index, index + payload.max_matrix_height - 1)
)
end
end
index += payload.max_matrix_height
end
......
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