!182 简化返回值

Merge pull request !182 from shawn/dev
pull/187/head
若依 2 years ago committed by Gitee
commit 97500fbccb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -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