From 807efbe01d2781a688d2879c71dd1ce9296df520 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 07 一月 2025 16:44:56 +0800 Subject: [PATCH] void insert(List<MmItemResultJsonEntity> resultJsonList); --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java index 6b60d6e..4f7c1fa 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/impl/MmItemResultJsonServiceImpl.java @@ -48,4 +48,18 @@ }); return result; } + + @Override + public String getDoubleData(String outputId, Date predictTime) { + QueryWrapper<MmItemResultJsonEntity> wrapper = new QueryWrapper<>(); + wrapper.eq("outputid", outputId) + .eq("predicttime", predictTime); + MmItemResultJsonEntity mmItemResultJsonEntity = baseDao.selectOne(wrapper); + return null == mmItemResultJsonEntity ? null : mmItemResultJsonEntity.getCumulant(); + } + + @Override + public void insert(List<MmItemResultJsonEntity> resultJsonList) { + baseDao.insertBatch(resultJsonList); + } } \ No newline at end of file -- Gitblit v1.9.3