| | |
| | | import org.sxkj.gd.workorder.vo.GdClueEventCountVO; |
| | | import org.sxkj.gd.workorder.vo.GdClueEventListVO; |
| | | import org.sxkj.gd.workorder.vo.GdClueEventVO; |
| | | import org.sxkj.gd.utils.GdGeoAddressUtil; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springblade.core.mp.base.BaseServiceImpl; |
| | |
| | | if (detail == null) { |
| | | throw new RuntimeException("事件不存在"); |
| | | } |
| | | String address = GdGeoAddressUtil.getFormattedAddress(detail.getLongitude(), detail.getLatitude()); |
| | | if (StringUtil.isNotBlank(address)) { |
| | | detail.setEventLocation(address); |
| | | } |
| | | return detail; |
| | | } |
| | | |