From 662c7e693a5059039101071f1dc410d26f9fcc66 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 16 May 2020 17:16:44 +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 --- .../main/java/com/ruoyi/common/core/page/TableDataInfo.java | 6 +++--- .../com/ruoyi/system/service/impl/SysDeptServiceImpl.java | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/page/TableDataInfo.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/page/TableDataInfo.java index 82dca371..29f60e7f 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/page/TableDataInfo.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/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-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java index 86c76095..69cbdeb1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java @@ -285,6 +285,7 @@ public class SysDeptServiceImpl implements ISysDeptService * @param deptId 部门ID * @return 子部门数 */ + @Override public int selectNormalChildrenDeptById(Long deptId) { return deptMapper.selectNormalChildrenDeptById(deptId);