Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

代码生成树表haschild存在问题,为什么不在add时就给haschild赋值为0 #2558

Closed
zfy220 opened this issue May 13, 2021 · 1 comment

Comments

@zfy220
Copy link

zfy220 commented May 13, 2021

版本号:

2021年4月14号的开源版本

问题描述:

代码生成树中,新增时haschild为null,但是添加一个下级后haschild为1,删除这个下级节点haschild就置为0了,会导致树的叶子节点中haschild字段有两种值,为null或者0

截图&代码:

image

image

友情提示: 未按格式要求发帖,会直接删掉。

@lsqGitHub716
Copy link

已收录

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants