| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.io.File; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | import static com.ruoyi.utils.tools.ArdTool.writeStringToFile; |
| | | |
| | | |
| | | /** |
| | |
| | | String alarmpointName = ardAlarmRadar.getName();//兴趣点名称 |
| | | ArdAlarmpointsWell well = ardAlarmpointsWellMapper.selectArdAlarmpointsWellByWellId(alarmpointName); |
| | | if (well == null) { |
| | | return; |
| | | String path=System.getProperty("user.dir") + File.separator +"noExistWell.txt"; |
| | | writeStringToFile(alarmpointName,path); |
| | | continue; |
| | | } |
| | | |
| | | Double longitude = well.getLongitude(); |