36 lines
965 B
Go
36 lines
965 B
Go
package test_data
|
|
|
|
import (
|
|
"testData/model"
|
|
reader2 "testData/repository/report_reader"
|
|
"testData/request"
|
|
)
|
|
|
|
func ImportSTS8200(fileText *model.FileText) {
|
|
}
|
|
|
|
func ImportFinalReport(r *request.ImportFinalReport) {
|
|
if r.Step == "FT" {
|
|
if r.Factory == "华润赛美科" {
|
|
reader2.FTSMCReportReader(r.FilePath)
|
|
} else if r.Factory == "江苏长电科技" {
|
|
reader2.FTSuQianChangDianReportReader(r.FilePath)
|
|
} else if r.Factory == "气派" {
|
|
reader2.FTQiPaiReportReader(r.FilePath)
|
|
} else if r.Factory == "深圳睿思" {
|
|
reader2.FTRuiSiReportReader(r.FilePath)
|
|
} else if r.Factory == "江苏芯德" {
|
|
reader2.FTXinDeReportReader(r.FilePath)
|
|
}
|
|
} else if r.Step == "CP" {
|
|
if r.Factory == "华润赛美科" {
|
|
reader2.CPSMCReportReader(r.FilePath)
|
|
} else if r.Factory == "无锡圆方" {
|
|
reader2.CPYuanFangReportReader(r.FilePath)
|
|
} else if r.Factory == "深圳育诚" {
|
|
reader2.CPYuChengReportReader(r.FilePath)
|
|
}
|
|
}
|
|
|
|
}
|