提交 5f1c208f authored 作者: zjm's avatar zjm

feat(单位模块): 添加了单位逻辑注释

添加了单位逻辑注释
上级 72c6cc8e
...@@ -52,4 +52,9 @@ public class LeftNavigation { ...@@ -52,4 +52,9 @@ public class LeftNavigation {
* 所属名称 * 所属名称
*/ */
private Integer theirId; private Integer theirId;
/**
* 单位等级
*/
private Integer level;
} }
...@@ -73,7 +73,7 @@ public class Area { ...@@ -73,7 +73,7 @@ public class Area {
} }
public LeftNavigation toLeftNavigation(){ public LeftNavigation toLeftNavigation(){
return new LeftNavigation(id,name,null, UUID.randomUUID().toString(),1,Double.valueOf(orders).intValue(),null); return new LeftNavigation(id,name,null, UUID.randomUUID().toString(),1,Double.valueOf(orders).intValue(),null,type);
} }
} }
...@@ -154,7 +154,7 @@ public class Units { ...@@ -154,7 +154,7 @@ public class Units {
public LeftNavigation toLeftNavigation(){ public LeftNavigation toLeftNavigation(){
return new LeftNavigation(unitId,name,null, UUID.randomUUID().toString(),2,showOrder,null); return new LeftNavigation(unitId,name,null, UUID.randomUUID().toString(),2,showOrder,null,level);
} }
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论