lyhzzz %!s(int64=2) %!d(string=hai) anos
pai
achega
b8ec540391

+ 1 - 1
src/main/java/com/cdf/controller/back/SysDeptController.java

@@ -113,7 +113,7 @@ public class SysDeptController extends BaseLogController{
 
             Dept deptt = deptService.getById(1);
             BeanUtils.copyProperties(deptt,vot);
-            vot.setHasChildren(0);
+            vot.setHasChildren(1);
             vot.setChildren(Arrays.asList(vo));
             return ResultData.ok(Arrays.asList(vot));
         }