| | |
| | | package com.moral.api.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.moral.api.config.Interceptor.UserHelper; |
| | | import com.moral.api.entity.MonitorPoint; |
| | | import com.moral.api.entity.Organization; |
| | | import com.moral.api.mapper.MonitorPointMapper; |
| | | import com.moral.api.mapper.OrganizationMapper; |
| | | import com.moral.api.pojo.vo.user.QxUser; |
| | | import com.moral.api.service.DeviceService; |
| | | import com.moral.api.service.MonitorPointService; |
| | | import com.moral.api.service.OrganizationService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.moral.constant.Constants; |
| | |
| | | OrganizationMapper organizationMapper; |
| | | |
| | | |
| | | |
| | | @Override |
| | | public List<Organization> getChildrenOrganizationsById(Integer id) { |
| | | List<Organization> childrenOrganization = new ArrayList<>(); |
| | |
| | | public Organization getOrganizationById(Integer id) { |
| | | return organizationMapper.selectById(id); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | return; |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public List<Integer> orgIdList(Integer organizationId) { |
| | | return this.baseMapper.orgIdList(organizationId); |
| | | } |
| | | } |