| | |
| | | private EventGridMemberRelationMapper eventGridMemberRelationMapper; |
| | | @Resource |
| | | private EventSpecialCrowdRecordService eventSpecialCrowdRecordService; |
| | | @Resource |
| | | private EventSpecialCrowdRecordMapper eventSpecialCrowdRecordMapper; |
| | | |
| | | /** |
| | | * 分页查找事件 |
| | |
| | | eventDetailsVO.setCreator(createUser.get("name") == null ? "" : createUser.get("name").toString()); |
| | | } |
| | | |
| | | //当事件为特殊人群上报时,需要查询事件与人口关联关系 |
| | | if(eventDetailsVO.getEventType().equals(6)){ |
| | | List<EventSpecialPopulationDetailsVO> specialPopulationList = eventSpecialCrowdRecordMapper.getSpecialPopulationIds(eventDetailsVO.getId()); |
| | | eventDetailsVO.setPopulationList(specialPopulationList); |
| | | } |
| | | return R.ok(eventDetailsVO); |
| | | } |
| | | return R.fail("事件不存在"); |