From 8c7aca2527336182fa0a8a476c2274b68acfa54f Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 16 May 2020 17:15:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E5=B0=91=20@Override?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/framework/web/page/TableDataInfo.java | 6 +++--- .../project/system/service/impl/SysDeptServiceImpl.java | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) 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);