feat(corp): 添加企业列表排除自身功能

main
zhaokai 2026-03-02 17:23:27 +08:00
parent f9ce6d28d0
commit fd6ea9e9b5
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class CorpInfoRepositoryImpl extends BaseRepositoryImpl<CorpInfoMapper, C
queryWrapper.in("type", enterpriseType);
}
//排除自己的企业,1排除
if(params.get("excludeSelf") != null && (Integer) params.get("excludeSelf") == 1){
if(params.get("exCludeSelf") != null && (Integer) params.get("exCludeSelf") == 1){
queryWrapper.ne("id", AuthContext.getTenantId());
}