Merge branch 'develop' of https://github.com/dibo-software/diboot-v2 into develop
This commit is contained in:
commit
5d701db1be
|
@ -169,8 +169,8 @@ public class SysUserController extends BaseCrudRestController {
|
|||
modelMap.put("roleKvList", roleKvList);
|
||||
|
||||
//获取用户状态KV
|
||||
List<KeyValue> userStatusKvList = dictionaryService.getKeyValueList(SysUser.USER_STATUS);
|
||||
modelMap.put("userStatusKvList", userStatusKvList);
|
||||
List<KeyValue> statusKvList = dictionaryService.getKeyValueList(SysUser.USER_STATUS);
|
||||
modelMap.put("statusKvList", statusKvList);
|
||||
|
||||
//获取用户性别KV
|
||||
List<KeyValue> genderKvList = dictionaryService.getKeyValueList(SysUser.GENDER);
|
||||
|
|
|
@ -253,8 +253,8 @@ public class PositionServiceImpl extends BaseServiceImpl<PositionMapper, Positio
|
|||
}
|
||||
//获取职位
|
||||
List<Position> positionList = super.getEntityListByIds(positionIdList);
|
||||
List<PositionVO> volist = RelationsBinder.convertAndBind(positionList, PositionVO.class);
|
||||
List<PositionVO> voTreeList = BeanUtils.buildTree(null, volist);
|
||||
List<PositionVO> voList = RelationsBinder.convertAndBind(positionList, PositionVO.class);
|
||||
List<PositionVO> voTreeList = BeanUtils.buildTree(null, voList);
|
||||
return voTreeList;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue