...
|
...
|
@@ -9,6 +9,7 @@ import ( |
|
|
"github.com/linmadan/egglib-go/core/application"
|
|
|
"github.com/linmadan/egglib-go/utils/excel"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/excelData/command"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/web/excelData/query"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/domain"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/domainService"
|
|
|
"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 |
|
|
}, nil
|
|
|
}
|
|
|
|
|
|
func (srv ExcelDataService) GetExcelDataFields(code string) (interface{}, error) {
|
|
|
func (srv ExcelDataService) GetExcelDataFields(param *query.ExcelDataFieldsQuery) (interface{}, error) {
|
|
|
dataFileds := []DataFieldOptions{}
|
|
|
switch code {
|
|
|
switch param.Code {
|
|
|
case domain.ExportCompanyUser:
|
|
|
dataFileds = (ExportCompanyUserData{}).AllFields()
|
|
|
case domain.ExportCooperationUser:
|
...
|
...
|
|