style: 删除体系树无用代码
This commit is contained in:
-18
@@ -1,6 +1,5 @@
|
||||
package com.jero.modules.laws.standard.service.impl;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.jero.common.constant.CommonConstant;
|
||||
@@ -167,21 +166,4 @@ public class LawsTreeNodeServiceImpl extends ServiceImpl<LawsTreeNodeMapper, Law
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// /**
|
||||
// * delete 方法调用
|
||||
// * @param id
|
||||
// * @param codeList
|
||||
// */
|
||||
// private void checkChildrenExists(String id, List<String> codeList) {
|
||||
// LambdaQueryWrapper<LawsTreeNode> query = new LambdaQueryWrapper<>();
|
||||
// query.eq(LawsTreeNode::getParentId, id);
|
||||
// List<LawsTreeNode> nodeList = this.list(query);
|
||||
// if (nodeList != null && !nodeList.isEmpty()) {
|
||||
// for (LawsTreeNode node : nodeList) {
|
||||
// codeList.add(node.getId());
|
||||
// this.checkChildrenExists(node.getNodeCode(), codeList);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user