| | |
| | | eventInfo.setGridName(gridData.getGridName()); |
| | | eventInfo.setCaseTypeCode(LocalEventToLangChaoEventTypeEnum.getCodeByName(eventInfoVo.getEventType())); |
| | | eventInfo.setCaseTypeName(LocalEventToLangChaoEventTypeEnum.getEventNameByCode(eventInfoVo.getEventType())); |
| | | if (eventInfoVo.getEventCategory() != 1L) { |
| | | eventInfo.setHappenTime(String.valueOf(eventInfoVo.getPropagandaTime().getTime())); |
| | | } else { |
| | | eventInfo.setHappenTime(String.valueOf(eventInfoVo.getHappenTime().getTime())); |
| | | } |
| | | eventInfo.setHappenAddress(eventInfoVo.getHappenAddress()); |
| | | String[] data = eventInfoVo.getHappentLatLng().split(","); |
| | | eventInfo.setLongitude(data[0]); |
| | |
| | | eventInfo.setDataId(eventInfoVo.getId().toString()); |
| | | //获取系统网格员映射的浪潮网格员对于的用户ID |
| | | eventInfo.setUserId(lcGridUserId); |
| | | eventInfo.setHandleTime(String.valueOf(eventInfoVo.getHappenTime().getTime())); |
| | | if (eventInfoVo.getProcessDate() != null) { |
| | | eventInfo.setHandleTime(String.valueOf(eventInfoVo.getProcessDate().getTime())); |
| | | } |
| | | eventInfo.setCaseName(eventInfoVo.getEventTitle()); |
| | | submitEventRegister(eventInfo); |
| | | log.info("定时向浪潮服务器提交网格事件登记结束"); |