Browse Source

!182 简化返回值

Merge pull request !182 from shawn/dev
master
若依 3 years ago committed by Gitee
parent
commit
97500fbccb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 2
      ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java

2
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java

@ -152,7 +152,7 @@ public class SysDeptServiceImpl implements ISysDeptService @@ -152,7 +152,7 @@ public class SysDeptServiceImpl implements ISysDeptService
public boolean checkDeptExistUser(Long deptId)
{
int result = deptMapper.checkDeptExistUser(deptId);
return result > 0 ? true : false;
return result > 0;
}
/**

Loading…
Cancel
Save