fix bugs(first zero in school code disapeared) in version 1

This commit is contained in:
BOHUNG 2020-03-05 12:05:37 +08:00
parent 0c4b2c5ebd
commit 5b110f98bb
1 changed files with 1 additions and 1 deletions

View File

@ -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