diff --git a/ruoyi/src/main/java/com/ruoyi/framework/web/page/TableDataInfo.java b/ruoyi/src/main/java/com/ruoyi/framework/web/page/TableDataInfo.java index 3a184c68c..e8b24ffe5 100644 --- a/ruoyi/src/main/java/com/ruoyi/framework/web/page/TableDataInfo.java +++ b/ruoyi/src/main/java/com/ruoyi/framework/web/page/TableDataInfo.java @@ -22,7 +22,7 @@ public class TableDataInfo implements Serializable private int code; /** 消息内容 */ - private int msg; + private String msg; /** * 表格数据对象 @@ -73,12 +73,12 @@ public class TableDataInfo implements Serializable this.code = code; } - public int getMsg() + public String getMsg() { return msg; } - public void setMsg(int msg) + public void setMsg(String msg) { this.msg = msg; } diff --git a/ruoyi/src/main/java/com/ruoyi/project/system/service/impl/SysDeptServiceImpl.java b/ruoyi/src/main/java/com/ruoyi/project/system/service/impl/SysDeptServiceImpl.java index 383489888..4e0ef4a2d 100644 --- a/ruoyi/src/main/java/com/ruoyi/project/system/service/impl/SysDeptServiceImpl.java +++ b/ruoyi/src/main/java/com/ruoyi/project/system/service/impl/SysDeptServiceImpl.java @@ -114,6 +114,7 @@ public class SysDeptServiceImpl implements ISysDeptService * @param deptId 部门ID * @return 子部门数 */ + @Override public int selectNormalChildrenDeptById(Long deptId) { return deptMapper.selectNormalChildrenDeptById(deptId);