模板问题修复
This commit is contained in:
parent
e89423c666
commit
c8a26d73e3
|
@ -135,7 +135,7 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
|||
*/
|
||||
private void updateOldParentNode(String pid) {
|
||||
if(!I${entityName}Service.ROOT_PID_VALUE.equals(pid)) {
|
||||
Integer count = baseMapper.selectCount(new QueryWrapper<${entityName}>().eq("${tableVo.extendParams.pidField}", pid));
|
||||
Long count = baseMapper.selectCount(new QueryWrapper<${entityName}>().eq("${tableVo.extendParams.pidField}", pid));
|
||||
if(count==null || count<=1) {
|
||||
baseMapper.updateTreeNodeStatus(pid, I${entityName}Service.NOCHILD);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue