|
@@ -8,6 +8,7 @@ import ( |
|
@@ -8,6 +8,7 @@ import ( |
8
|
"github.com/linmadan/egglib-go/core/application"
|
8
|
"github.com/linmadan/egglib-go/core/application"
|
9
|
"github.com/linmadan/egglib-go/utils/excel"
|
9
|
"github.com/linmadan/egglib-go/utils/excel"
|
10
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/excelData/command"
|
10
|
"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/query"
|
11
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/domain"
|
12
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/domain"
|
12
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/domainService"
|
13
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/domainService"
|
13
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/service_gateway/allied_creation_user"
|
14
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/service_gateway/allied_creation_user"
|
|
@@ -215,9 +216,9 @@ func (srv ExcelDataService) FileImportTemplate(importDataCommand *command.Import |
|
@@ -215,9 +216,9 @@ func (srv ExcelDataService) FileImportTemplate(importDataCommand *command.Import |
215
|
}, nil
|
216
|
}, nil
|
216
|
}
|
217
|
}
|
217
|
|
218
|
|
218
|
-func (srv ExcelDataService) GetExcelDataFields(code string) (interface{}, error) {
|
219
|
+func (srv ExcelDataService) GetExcelDataFields(param *query.ExcelDataFieldsQuery) (interface{}, error) {
|
219
|
dataFileds := []DataFieldOptions{}
|
220
|
dataFileds := []DataFieldOptions{}
|
220
|
- switch code {
|
221
|
+ switch param.Code {
|
221
|
case domain.ExportCompanyUser:
|
222
|
case domain.ExportCompanyUser:
|
222
|
dataFileds = (ExportCompanyUserData{}).AllFields()
|
223
|
dataFileds = (ExportCompanyUserData{}).AllFields()
|
223
|
case domain.ExportCooperationUser:
|
224
|
case domain.ExportCooperationUser:
|