修正单词拼写错误

pull/2/head
RuoYi 2018-04-24 14:06:50 +08:00
parent 7677f1efe5
commit b7c123e2d3
1 changed files with 2 additions and 2 deletions

View File

@ -21,14 +21,14 @@ public class TreeUtils
* @param typeId ID
* @return String
*/
public static List<Menu> getChildPerms(List<Menu> list, int praentId)
public static List<Menu> getChildPerms(List<Menu> list, int parentId)
{
List<Menu> returnList = new ArrayList<Menu>();
for (Iterator<Menu> iterator = list.iterator(); iterator.hasNext();)
{
Menu t = (Menu) iterator.next();
// 一、根据传入的某个父节点ID,遍历该父节点的所有子节点
if (t.getParentId() == praentId)
if (t.getParentId() == parentId)
{
recursionFn(list, t);
returnList.add(t);