作者 yangfu

模板更新

@@ -284,11 +284,11 @@ func (srv ExcelDataService) importResultWithHeader(headers []excel.DataField, fa @@ -284,11 +284,11 @@ func (srv ExcelDataService) importResultWithHeader(headers []excel.DataField, fa
284 // ImportCompanyUser 导入公司用户信息 284 // ImportCompanyUser 导入公司用户信息
285 func (srv ExcelDataService) FileImportTemplate(importDataCommand *command.ImportDataCommand) (interface{}, error) { 285 func (srv ExcelDataService) FileImportTemplate(importDataCommand *command.ImportDataCommand) (interface{}, error) {
286 var mapTemplate = map[string]string{ 286 var mapTemplate = map[string]string{
287 - domain.ImportCompanyUser: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210909/object/1631171021_baB6y5zdpwC2WnsHFQhKC3dkQEaAYMNZ.xlsx", 287 + domain.ImportCompanyUser: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210916/object/1631807485_EaxECeRz23WpzrMZmbwdEPRJ3Pdxpx5X.xlsx",
  288 + domain.ImportOrganization: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210916/object/1631807490_r2XWhGmbWWmpbeePBkZ3EJQFKcZEMpEm.xlsx",
  289 + domain.ImportDividendsOrders: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210916/object/1631807770_sBtA4dYcmESZy6Q2ycfGSCKGdFtBETQZ.xlsx",
288 // 模板待更新 290 // 模板待更新
289 - domain.ImportOrganization: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210909/object/1631171021_baB6y5zdpwC2WnsHFQhKC3dkQEaAYMNZ.xlsx",  
290 domain.ImportCooperationUser: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210909/object/1631171021_baB6y5zdpwC2WnsHFQhKC3dkQEaAYMNZ.xlsx", 291 domain.ImportCooperationUser: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210909/object/1631171021_baB6y5zdpwC2WnsHFQhKC3dkQEaAYMNZ.xlsx",
291 - domain.ImportDividendsOrders: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210909/object/1631171021_baB6y5zdpwC2WnsHFQhKC3dkQEaAYMNZ.xlsx",  
292 domain.ImportDividendsReturnOrders: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210909/object/1631171021_baB6y5zdpwC2WnsHFQhKC3dkQEaAYMNZ.xlsx", 292 domain.ImportDividendsReturnOrders: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210909/object/1631171021_baB6y5zdpwC2WnsHFQhKC3dkQEaAYMNZ.xlsx",
293 } 293 }
294 var url string 294 var url string
@@ -122,7 +122,7 @@ func importDividendsOrder(controller ExcelDataController) { @@ -122,7 +122,7 @@ func importDividendsOrder(controller ExcelDataController) {
122 {EnName: "OrderGoodQuantity", CnName: "*产品数量"}, 122 {EnName: "OrderGoodQuantity", CnName: "*产品数量"},
123 {EnName: "OrderGoodPrice", CnName: "*产品价格"}, 123 {EnName: "OrderGoodPrice", CnName: "*产品价格"},
124 {EnName: "Expense", CnName: "费用"}, 124 {EnName: "Expense", CnName: "费用"},
125 - {EnName: "CooperationContractNumber", CnName: "项目合约编号"}, 125 + {EnName: "CooperationContractNumber", CnName: "*项目合约编号"},
126 } 126 }
127 excelData, err := excelImport.OpenExcelFromIoReader(fileReader) 127 excelData, err := excelImport.OpenExcelFromIoReader(fileReader)
128 if err != nil { 128 if err != nil {