| | |
| | | return monitorPoints; |
| | | } |
| | | |
| | | @Override |
| | | public List<MonitorPoint> queryStateControlStationByRegionCode(Integer regionCode) { |
| | | //获取国控站组织 |
| | | Organization stateControlStationOrganization = organizationService.getStateControlStation(); |
| | | //获取国控站组织下的所有站点 |
| | | QueryWrapper<MonitorPoint> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("is_delete", Constants.NOT_DELETE); |
| | | queryWrapper.eq("organization_id", stateControlStationOrganization.getId()); |
| | | queryWrapper.eq(RegionCodeUtils.regionCodeConvertToName(regionCode), regionCode); |
| | | return monitorPointMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | } |
| | | |