作者 庄敏学

fixed import

... ... @@ -3,4 +3,5 @@ pkg/constant/kafka_local.go
/.idea
go.sum
performance.exe
debug.log
\ No newline at end of file
debug.log
go_build_main_go
\ No newline at end of file
... ...
... ... @@ -74,14 +74,14 @@ func LoadPerformanceDimensions(rows [][]string) ([]*PerformanceDimension, error)
}
form.Weight = weightName
//标准
if len(item) > 7 && item[7] != "" {
standardName = item[7]
}
if key < len(rows)-1 {
if len(rows[key+1]) > 1 && rows[key+1][1] != "" {
standardName = ""
}
}
if len(item) > 7 && item[7] != "" {
standardName = item[7]
}
form.Standard = standardName
//是否必填
if len(item) > 9 && item[9] != "" {
... ...