Commit 88f5c2b2 authored by suhuiguang's avatar suhuiguang

1.队伍类型树 未统计本身下队伍数量,支统计了子级数量bug修改

parent a9277e2c
......@@ -108,6 +108,7 @@ public class DataDictionaryServiceImpl extends BaseService<DataDictionaryDto, Da
return list;
}
@Override
public List<DataDictionary> getByType(String type) {
LambdaQueryWrapper<DataDictionary> wrapper = new LambdaQueryWrapper<DataDictionary>();
wrapper.eq(DataDictionary::getIsDelete, false);
......@@ -125,7 +126,7 @@ public class DataDictionaryServiceImpl extends BaseService<DataDictionaryDto, Da
) {
if( null != m.children) {
List<Menu> children = m.getChildren();
int count = 0;
int count = m.num;
for (Menu mm:children
) {
count = count + mm.num;
......
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