mapper改用注释方式

This commit is contained in:
朱俊杰
2022-02-14 10:18:00 +08:00
parent 37a84e6691
commit 54df5df031
3 changed files with 29 additions and 37 deletions

View File

@@ -28,6 +28,12 @@ public class DeviceChannelTree extends DeviceChannel implements INode<DeviceChan
private String parentName;
private String title;
private String key;
private String value;
/**
* 子孙节点
*/
@@ -47,4 +53,13 @@ public class DeviceChannelTree extends DeviceChannel implements INode<DeviceChan
}
return this.children;
}
@Override
public Boolean getHasChildren() {
if (children.size() > 0) {
return true;
} else {
return this.hasChildren;
}
}
}