!182 简化返回值

Merge pull request !182 from shawn/dev
This commit is contained in:
若依
2022-05-09 09:44:49 +00:00
committed by Gitee

View File

@@ -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;
}
/**