Procházet zdrojové kódy

修改可视化接口

zyl před 2 měsíci
rodič
revize
b57285cd09

+ 3 - 1
liutongyi-admin/src/main/java/com/citygis/web/mapper/LookMonitorMapper.java

@@ -3,6 +3,8 @@ package com.citygis.web.mapper;
 import com.citygis.web.domain.LookMonitor;
 import com.citygis.web.domain.TabLinkTitle;
 
+import java.util.List;
+
 public interface LookMonitorMapper {
 
     LookMonitor getLookMonitorByUrl(String dateTime);
@@ -13,6 +15,6 @@ public interface LookMonitorMapper {
 
     TabLinkTitle getUrlMsg(String dateTime);
 
-    LookMonitor getLookMonitorByUrlAndStatus(String dateTime);
+    List<LookMonitor> getLookMonitorByUrlAndStatus(String dateTime);
 
 }

+ 4 - 3
liutongyi-admin/src/main/resources/application.yml

@@ -91,9 +91,10 @@ spring:
         max-active: 8
         # #连接池最大阻塞等待时间(使用负值表示没有限制)
         max-wait: -1ms
-  #接口不返回空字段
-  jackson:
-    default-property-inclusion: non_null
+#  #接口不返回空字段
+#  jackson:
+
+#    default-property-inclusion: non_null
 # token配置
 token:
   # 令牌自定义标识