|
@@ -1,6 +1,7 @@
|
|
|
package org.springblade.manager.formula.impl;
|
|
|
|
|
|
import com.mixsmart.utils.FormulaUtils;
|
|
|
+import com.mixsmart.utils.StringUtils;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
import org.springblade.common.utils.BaseUtils;
|
|
@@ -74,7 +75,7 @@ public class ExecutorInit extends FormulaExecutor {
|
|
|
treeNode.setParentId(m.getParentId());
|
|
|
treeNode.setValue(m);
|
|
|
treeNode.setName(m.getNodeName());
|
|
|
- treeNode.setSort(m.getSort());
|
|
|
+ treeNode.setSort(StringUtils.handObj2Integer(m.getSort()));
|
|
|
return treeNode;
|
|
|
};
|
|
|
return FormulaUtils.list2TreeNode(TreeNode::getId,list,fc,TreeNode::getParentId);
|