From 41622b7aa1d948040b0f8ea024aece42d5a518a2 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Wed, 25 Aug 2021 09:29:05 +0800 Subject: [PATCH] screen-api SQL优化 screen-manage 日志模块更新,SQL优化 --- screen-api/src/main/java/com/moral/api/service/impl/MonitorPointServiceImpl.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/screen-api/src/main/java/com/moral/api/service/impl/MonitorPointServiceImpl.java b/screen-api/src/main/java/com/moral/api/service/impl/MonitorPointServiceImpl.java index 0837c4a..8de6dc0 100644 --- a/screen-api/src/main/java/com/moral/api/service/impl/MonitorPointServiceImpl.java +++ b/screen-api/src/main/java/com/moral/api/service/impl/MonitorPointServiceImpl.java @@ -16,6 +16,10 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.io.BufferedWriter; +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -58,6 +62,7 @@ QueryWrapper<MonitorPoint> queryMonitorPointsWrapper = new QueryWrapper<>(); //������region������������������������������������������������������������������������������ + //������region��������������������������������������������������������� if (region != null){ queryMonitorPointsWrapper.eq(region, regionCode); } @@ -83,6 +88,7 @@ queryWrapper.eq(RegionCodeUtils.regionCodeConvertToName(regionCode), regionCode); return monitorPointMapper.selectList(queryWrapper); } + } -- Gitblit v1.8.0