燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-07-20 22713a6cb6bed3e3f2cdfffae58161fabbb5d120
src/main/java/com/yssh/service/WarningAnalyseService.java
@@ -50,6 +50,9 @@
    @Resource
    private QxshMapper qxshMapper;
    @Resource
    private SuYuanService suYuanService;
    private SimpleDateFormat ym = new SimpleDateFormat("yyyyMM%");
    @Async("threadPoolTaskExecutor")
@@ -397,6 +400,12 @@
            List<String> ids3d = CalculateUtils.aloneCrosswiseExtend(point, 50);
            DistanceSuYuan suMax = suYuanMapper.getSuYuan500Max(wd.getTableName(), ids3d);
            String[] strs = suMax.getId().split("_");
            int x = Integer.parseInt(strs[0]) / 10;
            int y = Integer.parseInt(strs[1]) / 10;
            String addr = suYuanService.selectAddrByXY(x, y);
            suMax.setAddr(addr);
            Report report = Report.calcReport(wd, suYuan, suMax);
            report.setLastVal(lastVal);