Commit 41b73c5a authored by chenhao's avatar chenhao

提交组装树的时候错误的判断

parent d083e445
......@@ -67,7 +67,7 @@ public class TreeParser {
parentId = PARENTIDMethodNameme.invoke(entity) != null ? Long.valueOf(String.valueOf(PARENTIDMethodNameme.invoke(entity))) : null;
if (parentId == null || topId.equals(parentId) ) {//陈浩2021-12-01修改 topId == parentId 的判断
if (parentId == null || (topId !=null && topId.equals(parentId) )) {//陈浩2021-12-01修改 topId == parentId 的判断
String codeString = String.valueOf(IDMethodNameme.invoke(entity));
Integer num = 0;
if (list != null && list.size() > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment