fix: 修改部门

pull/9/head
tangqian 2023-06-01 11:43:28 +08:00
parent 296af91986
commit e97a387aa5
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ public interface DeptMapper extends BaseMapperX<DeptDO> {
default List<DeptDO> selectList(DeptListReqVO reqVO) {
return selectList(new LambdaQueryWrapperX<DeptDO>()
.eq(DeptDO::getTenantId,reqVO.getTenantId())
.eq(null != reqVO.getTenantId(), DeptDO::getTenantId, reqVO.getTenantId())
.likeIfPresent(DeptDO::getName, reqVO.getName())
.eqIfPresent(DeptDO::getStatus, reqVO.getStatus()));
}