|
|
@@ -252,7 +252,7 @@ public class itemclass extends Controller {
|
|
|
*/
|
|
|
for (Row row1 : toprows) {
|
|
|
Rows rows1 = getSubItemclass(row1, allrows);
|
|
|
- Collections.sort(rows1, new SortByNum());
|
|
|
+ //Collections.sort(rows1, new SortByNum());
|
|
|
row1.put("subdep", rows1);
|
|
|
}
|
|
|
row.put("ttemclass", toprows);
|
|
|
@@ -345,7 +345,7 @@ public class itemclass extends Controller {
|
|
|
*/
|
|
|
for (Row row1 : toprows) {
|
|
|
Rows rows1 = getSubItemclass(row1, allrows);
|
|
|
- Collections.sort(rows1, new SortByNum());
|
|
|
+ //Collections.sort(rows1, new SortByNum());
|
|
|
row1.put("subdep", rows1);
|
|
|
}
|
|
|
row.put("ttemclass", toprows);
|
|
|
@@ -443,6 +443,7 @@ public class itemclass extends Controller {
|
|
|
*/
|
|
|
private Rows getSubItemclass(Row root, Rows allItemclasss) {
|
|
|
Rows childrenRows = allItemclasss.toRowsMap("parentid").get(root.getString("itemclassid"));
|
|
|
+ Collections.sort(childrenRows, new SortByNum());
|
|
|
for (Row row : childrenRows) {
|
|
|
row.put("subdep", getSubItemclass(row, allItemclasss));
|
|
|
}
|