RuoYi 5 years ago
parent 4f1f0bdbd3
commit 8c7aca2527
  1. 6
      ruoyi/src/main/java/com/ruoyi/framework/web/page/TableDataInfo.java
  2. 1
      ruoyi/src/main/java/com/ruoyi/project/system/service/impl/SysDeptServiceImpl.java

@ -22,7 +22,7 @@ public class TableDataInfo implements Serializable
private int code; private int code;
/** 消息内容 */ /** 消息内容 */
private int msg; private String msg;
/** /**
* 表格数据对象 * 表格数据对象
@ -73,12 +73,12 @@ public class TableDataInfo implements Serializable
this.code = code; this.code = code;
} }
public int getMsg() public String getMsg()
{ {
return msg; return msg;
} }
public void setMsg(int msg) public void setMsg(String msg)
{ {
this.msg = msg; this.msg = msg;
} }

@ -114,6 +114,7 @@ public class SysDeptServiceImpl implements ISysDeptService
* @param deptId 部门ID * @param deptId 部门ID
* @return 子部门数 * @return 子部门数
*/ */
@Override
public int selectNormalChildrenDeptById(Long deptId) public int selectNormalChildrenDeptById(Long deptId)
{ {
return deptMapper.selectNormalChildrenDeptById(deptId); return deptMapper.selectNormalChildrenDeptById(deptId);

Loading…
Cancel
Save