Commit 8c7aca2527336182fa0a8a476c2274b68acfa54f

Authored by RuoYi
1 parent 4f1f0bdb

缺少 @Override

ruoyi/src/main/java/com/ruoyi/framework/web/page/TableDataInfo.java
... ... @@ -22,7 +22,7 @@ public class TableDataInfo implements Serializable
22 22 private int code;
23 23  
24 24 /** 消息内容 */
25   - private int msg;
  25 + private String msg;
26 26  
27 27 /**
28 28 * 表格数据对象
... ... @@ -73,12 +73,12 @@ public class TableDataInfo implements Serializable
73 73 this.code = code;
74 74 }
75 75  
76   - public int getMsg()
  76 + public String getMsg()
77 77 {
78 78 return msg;
79 79 }
80 80  
81   - public void setMsg(int msg)
  81 + public void setMsg(String msg)
82 82 {
83 83 this.msg = msg;
84 84 }
... ...
ruoyi/src/main/java/com/ruoyi/project/system/service/impl/SysDeptServiceImpl.java
... ... @@ -114,6 +114,7 @@ public class SysDeptServiceImpl implements ISysDeptService
114 114 * @param deptId 部门ID
115 115 * @return 子部门数
116 116 */
  117 + @Override
117 118 public int selectNormalChildrenDeptById(Long deptId)
118 119 {
119 120 return deptMapper.selectNormalChildrenDeptById(deptId);
... ...