feat(corp): 添加企业列表排除自身功能
parent
f9ce6d28d0
commit
fd6ea9e9b5
|
|
@ -87,7 +87,7 @@ public class CorpInfoRepositoryImpl extends BaseRepositoryImpl<CorpInfoMapper, C
|
||||||
queryWrapper.in("type", enterpriseType);
|
queryWrapper.in("type", enterpriseType);
|
||||||
}
|
}
|
||||||
//排除自己的企业,1:排除
|
//排除自己的企业,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());
|
queryWrapper.ne("id", AuthContext.getTenantId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue