From 7a7acc33c5658643a54c42bfd6f70ed3881a3248 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期六, 31 八月 2024 19:24:44 +0800
Subject: [PATCH] 点位新增部级标签、点位导入导出优化

---
 ycl-server/src/main/java/com/ycl/calculate/IndexCalculationServe.java |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/calculate/IndexCalculationServe.java b/ycl-server/src/main/java/com/ycl/calculate/IndexCalculationServe.java
index 80c425b..7655251 100644
--- a/ycl-server/src/main/java/com/ycl/calculate/IndexCalculationServe.java
+++ b/ycl-server/src/main/java/com/ycl/calculate/IndexCalculationServe.java
@@ -183,19 +183,25 @@
 
     //杩斿洖鐪佸巺鍥芥爣鐮侀泦鍚�
     public List<String> getProvince() {
-        List<YwPoint> province = pointMapper.selectByTag(null, Boolean.TRUE, null);
+        List<YwPoint> province = pointMapper.selectByTag(null, Boolean.TRUE, null, null);
         return CollectionUtils.isEmpty(province) ? new ArrayList<>() : province.stream().map(YwPoint::getSerialNumber).collect(Collectors.toList());
     }
 
     //杩斿洖閲嶇偣鐐逛綅闆嗗悎
     public List<String> getImportant() {
-        List<YwPoint> important = pointMapper.selectByTag(Boolean.TRUE, null, null);
+        List<YwPoint> important = pointMapper.selectByTag(Boolean.TRUE, null, null, null);
         return CollectionUtils.isEmpty(important) ? new ArrayList<>() : important.stream().map(YwPoint::getSerialNumber).collect(Collectors.toList());
     }
 
     //杩斿洖閲嶇偣鎸囨尌鍥惧儚闆嗗悎
     public List<String> getCommandImage() {
-        List<YwPoint> commandImages = pointMapper.selectByTag(null, null, Boolean.TRUE);
+        List<YwPoint> commandImages = pointMapper.selectByTag(null, null, Boolean.TRUE, null);
+        return CollectionUtils.isEmpty(commandImages) ? new ArrayList<>() : commandImages.stream().map(YwPoint::getSerialNumber).collect(Collectors.toList());
+    }
+
+    //杩斿洖閲嶇偣鎸囨尌鍥惧儚闆嗗悎
+    public List<String> getDeptTag() {
+        List<YwPoint> commandImages = pointMapper.selectByTag(null, null, null, Boolean.TRUE);
         return CollectionUtils.isEmpty(commandImages) ? new ArrayList<>() : commandImages.stream().map(YwPoint::getSerialNumber).collect(Collectors.toList());
     }
 

--
Gitblit v1.8.0