接口修改
This commit is contained in:
parent
ded6ff4821
commit
3a522f0166
@ -124,9 +124,9 @@ public class SysEquipmentServiceImpl implements SysEquipmentService {
|
||||
if (sysOrg == null) {
|
||||
throw new ServiceException("机构不存在");
|
||||
}
|
||||
List<SysEquipment> list = sysEquipmentMapper.queryEquipmentTree(sysEquipmentDto.getId());
|
||||
List<SysEquipment> equipList = sysEquipmentMapper.queryEquipmentTree(sysEquipmentDto.getId());
|
||||
List<SysOrg> orgList = sysOrgMapper.queryAllOrgTree(sysEquipmentDto.getId());
|
||||
sysOrg.setEquipChildren(list);
|
||||
sysOrg.setEquipChildren(equipList);
|
||||
sysOrg.setOrgChildren(orgList);
|
||||
return sysOrg;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user