From 6e797b6bf65719823a20066f14344e180aff2e33 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期日, 05 十一月 2023 10:55:07 +0800 Subject: [PATCH] 修改CSV数据入库 --- src/main/java/com/yssh/service/SuYuanService.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yssh/service/SuYuanService.java b/src/main/java/com/yssh/service/SuYuanService.java index 8ddd0e5..418c959 100644 --- a/src/main/java/com/yssh/service/SuYuanService.java +++ b/src/main/java/com/yssh/service/SuYuanService.java @@ -47,8 +47,15 @@ @Resource private LocationService locService; + @Resource + private AlertConfigMapper alertConfigMapper; + private static HashMap<String, String> sites = new HashMap<>(); + public double getJcyj() { + return alertConfigMapper.getAll().get(0).getJcyj(); + } + //@Transactional @Async("threadPoolTaskExecutor") public void insertSuYuanDatasAsync(List<SuYuan> lists, String time) throws Exception { -- Gitblit v1.9.3