作者 yangfu

导入修改

@@ -180,7 +180,7 @@ func (srv ExcelDataService) ImportCompanyUser(importDataCommand *command.ImportD @@ -180,7 +180,7 @@ func (srv ExcelDataService) ImportCompanyUser(importDataCommand *command.ImportD
180 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) 180 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
181 } 181 }
182 excelImport := excel.NewExcelImport() 182 excelImport := excel.NewExcelImport()
183 - excelImport.RowBegin = 2 //第二行开始读取 183 + excelImport.RowBegin = 3 //第二行开始读取
184 excelImport.DataFields = []excel.DataField{ 184 excelImport.DataFields = []excel.DataField{
185 {EnName: "userCode", CnName: "*用户编号"}, 185 {EnName: "userCode", CnName: "*用户编号"},
186 {EnName: "userName", CnName: "*用户姓名"}, 186 {EnName: "userName", CnName: "*用户姓名"},