|
@@ -63,9 +63,9 @@ public class SysDeptServiceImpl extends AbstractCrudService<SysDeptMapper, SysDe
|
|
|
@DataScope(deptAlias = "d")
|
|
|
public List<SysDept> selectDeptListByLamda(SysDept dept)
|
|
|
{
|
|
|
-// dept.setTenantId(SecurityUtils.getTenantId());
|
|
|
-// log.debug(DataScopeContextHolder.getDataScopeSql());
|
|
|
-// return deptMapper.selectDeptList(dept);
|
|
|
+ dept.setTenantId(SecurityUtils.getTenantId());
|
|
|
+ log.debug(DataScopeContextHolder.getDataScopeSql());
|
|
|
+ return deptMapper.selectDeptList(dept);
|
|
|
}
|
|
|
|
|
|
/**
|