Commit a72453a7 by liyijie

set associations when call import_xlsx

parent e1afcd73
...@@ -17,6 +17,7 @@ module TalltyImportExport ...@@ -17,6 +17,7 @@ module TalltyImportExport
# xlsx_file 为 file path or file object or TalltyImportExport::Excel.new # xlsx_file 为 file path or file object or TalltyImportExport::Excel.new
def import_xlsx xlsx_file, associations, **options def import_xlsx xlsx_file, associations, **options
@associations = associations
# 先处理获取出来Excel每行的数据, line_info # 先处理获取出来Excel每行的数据, line_info
process_options(options) process_options(options)
......
module TalltyImportExport module TalltyImportExport
VERSION = "1.0.0" VERSION = "1.0.1"
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