燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-07-28 fedb6864b71fc8961e93fa465eb55bed95527b4a
src/main/java/com/yssh/controller/WarningAnalyseController.java
@@ -2,6 +2,7 @@
import com.yssh.entity.Qxsh;
import com.yssh.utils.CacheUtils;
import com.yssh.utils.DateUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@@ -28,8 +29,6 @@
public class WarningAnalyseController {
    @Resource
    private WarningAnalyseService warningService;
    private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
    /**
     * 1.查询当前时间的所有点位value值(以47.dat查询即可)
@@ -73,7 +72,7 @@
    public Result locationDataChange() {
        //return Result.OK(warningService.selectEachLocationDataChange());
        String key = dateFormat.format(new Date()) + "_local";
        String key = DateUtils.getYyyyMmDd(new Date()) + "_local";
        Object obj = CacheUtils.get(key);
        Map<String, List<Double>> map;