Commit 28717d85 by liyijie

process_line_info return unless line_info any present?

parent 3176a789
...@@ -65,6 +65,8 @@ module TalltyImportExport ...@@ -65,6 +65,8 @@ module TalltyImportExport
end end
def process_line_info line_info, associations def process_line_info line_info, associations
# 去除空行内容
return unless line_info.values.any?(&:present?)
# 转换处理导入的数据格式 # 转换处理导入的数据格式
line_info = convert_data(line_info) line_info = convert_data(line_info)
......
module TalltyImportExport module TalltyImportExport
VERSION = "1.0.17" VERSION = "1.0.18"
end 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