...
|
...
|
@@ -93,8 +93,8 @@ func LoadPerformanceDimensions(rows [][]string) ([]*PerformanceDimension, error) |
|
|
dimensions = append(dimensions, dimension)
|
|
|
}
|
|
|
result := make([]*PerformanceDimension, 0)
|
|
|
for _, item := range dimensions {
|
|
|
for _, name := range sortBy {
|
|
|
for _, item := range dimensions {
|
|
|
if name == item.Name {
|
|
|
result = append(result, item)
|
|
|
}
|
...
|
...
|
@@ -140,8 +140,9 @@ func loadPerformanceModule(forms []*PerformanceApplicationForm) ([]*PerformanceM |
|
|
modules = append(modules, module)
|
|
|
}
|
|
|
result := make([]*PerformanceModule, 0)
|
|
|
for _, item := range modules {
|
|
|
|
|
|
for _, name := range sortBy {
|
|
|
for _, item := range modules {
|
|
|
if name == item.ModuleName {
|
|
|
result = append(result, item)
|
|
|
}
|
...
|
...
|
|