组织机构操作限制优化

v1.4.1
Parker 5 years ago
parent 04f531ea65
commit 6943ee0d37

@ -270,8 +270,8 @@ public class SysOrgServiceImpl extends CrudServiceImpl<SysOrgMapper, SysOrg, Sys
); );
Integer count = mapper.hasUse(queryWrapper); Integer count = mapper.hasUse(queryWrapper);
if(count !=null && count > 0){ if(count !=null && count > 0){
// 该租户正在被其他用户绑定,无法操作 // 该组织正在被其他用户绑定,无法操作
throw new ServiceException(SystemMsg.EXCEPTION_TENANT_USED_DEL); throw new ServiceException(SystemMsg.EXCEPTION_ORG_USE);
} }
} }
} }

Loading…
Cancel
Save