| | |
| | | @Resource |
| | | private QxshMapper qxshMapper; |
| | | |
| | | @Resource |
| | | private SuYuanService suYuanService; |
| | | |
| | | private SimpleDateFormat ym = new SimpleDateFormat("yyyyMM%"); |
| | | |
| | | @Async("threadPoolTaskExecutor") |
| | |
| | | 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); |
| | | |