fix bugs(first zero in school code disapeared) in version 1
This commit is contained in:
parent
0c4b2c5ebd
commit
5b110f98bb
|
@ -10,6 +10,6 @@ wb.add_worksheet(name: "school_class") do |sheet|
|
||||||
end
|
end
|
||||||
sheet.add_row row , :style=> title,:widths => row.map{|cell| (cell.length* 11/ 2).round}
|
sheet.add_row row , :style=> title,:widths => row.map{|cell| (cell.length* 11/ 2).round}
|
||||||
@student_data_list.each do |infos_row|
|
@student_data_list.each do |infos_row|
|
||||||
sheet.add_row infos_row , :style=> column
|
sheet.add_row infos_row , :style=> column , :types => :string
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue