class DatabaseService {

    public ServiceResult deleteCheck(Long dbId) throws SQLException {
        if (deleteCheckDao.isDbsetEntryIdInProject(dbId)) {
            return ServiceResult.fail("请先删除逻辑库映射和物理库的关联！");
        }
        return ServiceResult.success();
    }

}