|
|
@ -31,10 +31,17 @@ public class SysAreaManager {
|
|
|
|
public List<SysArea> getSysAreaList(Long parentId) {
|
|
|
|
public List<SysArea> getSysAreaList(Long parentId) {
|
|
|
|
return sysAreaService.lambdaQuery()
|
|
|
|
return sysAreaService.lambdaQuery()
|
|
|
|
.eq(SysArea::getParentId, Objects.isNull(parentId) ? 29 : parentId)
|
|
|
|
.eq(SysArea::getParentId, Objects.isNull(parentId) ? 29 : parentId)
|
|
|
|
|
|
|
|
.orderByAsc(SysArea::getAreaCode)
|
|
|
|
.list();
|
|
|
|
.list();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getAreaName(Long id) {
|
|
|
|
|
|
|
|
return sysAreaService.lambdaQuery()
|
|
|
|
|
|
|
|
.eq(SysArea::getId,id).one().getName();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|