|
@@ -9,6 +9,7 @@ import ( |
|
@@ -9,6 +9,7 @@ import ( |
9
|
"github.com/linmadan/egglib-go/core/application"
|
9
|
"github.com/linmadan/egglib-go/core/application"
|
10
|
"github.com/linmadan/egglib-go/utils/excel"
|
10
|
"github.com/linmadan/egglib-go/utils/excel"
|
11
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/excelData/command"
|
11
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/excelData/command"
|
|
|
12
|
+ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/excelData/query"
|
12
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/domain"
|
13
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/domain"
|
13
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/domainService"
|
14
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/domainService"
|
14
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/service_gateway/allied_creation_user"
|
15
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/service_gateway/allied_creation_user"
|
|
@@ -300,9 +301,9 @@ func (srv ExcelDataService) FileImportTemplate(importDataCommand *command.Import |
|
@@ -300,9 +301,9 @@ func (srv ExcelDataService) FileImportTemplate(importDataCommand *command.Import |
300
|
}, nil
|
301
|
}, nil
|
301
|
}
|
302
|
}
|
302
|
|
303
|
|
303
|
-func (srv ExcelDataService) GetExcelDataFields(code string) (interface{}, error) {
|
304
|
+func (srv ExcelDataService) GetExcelDataFields(param *query.ExcelDataFieldsQuery) (interface{}, error) {
|
304
|
dataFileds := []DataFieldOptions{}
|
305
|
dataFileds := []DataFieldOptions{}
|
305
|
- switch code {
|
306
|
+ switch param.Code {
|
306
|
case domain.ExportCompanyUser:
|
307
|
case domain.ExportCompanyUser:
|
307
|
dataFileds = (ExportCompanyUserData{}).AllFields()
|
308
|
dataFileds = (ExportCompanyUserData{}).AllFields()
|
308
|
case domain.ExportCooperationUser:
|
309
|
case domain.ExportCooperationUser:
|