From 35ee8fa998efd94733b479307256f32136671ed2 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 05 三月 2025 13:54:37 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
---
server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java | 64 +++++++++++++++++++++++++++++++-
1 files changed, 62 insertions(+), 2 deletions(-)
diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java b/server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java
index aad1de4..faaa2e5 100644
--- a/server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java
@@ -322,6 +322,23 @@
return startDoPostStringArtemisAdmin(HKConstants.InterfacePath.temperatureHumidityDataStatistic,body);
}
+ /**
+ *娑堥槻鐪嬫澘-4鑾峰彇鍖哄煙鐢ㄩ噺鎺掑悕-鑳借�楃湅鏉�
+ * @param body
+ * @return
+ */
+ public static String regionDataRanking(String body) {
+ return startDoPostStringArtemis(HKConstants.InterfacePath.regionDataRanking,body);
+ }
+
+ /**
+ *娑堥槻鐪嬫澘-4鏍规嵁鏃堕棿鍜屾椂闂寸淮搴﹁幏鍙栧洯鍖鸿兘鑰楁暟鎹�
+ * @param body
+ * @return
+ */
+ public static String energyTotal(String body) {
+ return startDoPostStringArtemis(HKConstants.InterfacePath.energyTotal,body);
+ }
/**
* 鑾峰彇闂ㄧ鐐瑰垪琛�
@@ -417,6 +434,12 @@
saveInterfaceLog(JSONObject.toJSONString(body),result,path,pathStr[1]);
return result;
}
+ public static String startDoGetStringArtemis(String[] pathStr,Map<String,String> querys ,Map<String, String> header ){
+ Map<String, String> path = getPath(pathStr[0]);
+ String result = ArtemisHttpUtil.doGetArtemis(path, querys, null, null, header);
+ saveInterfaceLog(JSONObject.toJSONString(querys),result,path,pathStr[1]);
+ return result;
+ }
public static String startDoGetStringArtemisJson(String[] pathStr,Map<String,String> body ){
Map<String, String> path = getPath(pathStr[0]);
Map<String, String> header = new HashMap<>();
@@ -448,6 +471,22 @@
*/
public static String visitOut(String body) {
return startDoPostStringArtemis(HKConstants.InterfacePath.visitOut,body);
+ }
+ /**
+ * iccm绛剧璁垮棰勭害
+ * @param body
+ * @return
+ */
+ public static String iccmSignoff(String body) {
+ return startDoPostStringArtemis(HKConstants.InterfacePath.iccmSignoff,body);
+ }
+ /**
+ * iccm鍙栨秷璁垮棰勭害
+ * @param body
+ * @return
+ */
+ public static String iccmCancelAppointment(String body) {
+ return startDoPostStringArtemis(HKConstants.InterfacePath.iccmCancelAppointment,body);
}
/**
* 璁垮鏉冮檺缁�
@@ -796,7 +835,9 @@
* @return
*/
public static String ruleEventSearch(String body) {
- return startDoPostStringArtemis(HKConstants.InterfacePath.ruleEventSearch,body);
+ Map<String,String> header = new HashMap<>();
+ header.put("User-Id","admin");
+ return startDoPostStringArtemis(HKConstants.InterfacePath.ruleEventSearch,null,header,body);
}
/**
* 瀹夐槻鐪嬫澘-鍥尯瀹夐槻璁惧-鍚勭被鍨嬭澶囩姸鎬佹暟鎹垪琛�
@@ -846,6 +887,15 @@
public static String getFireDevStatusList(String body) {
return startDoPostStringArtemis(HKConstants.InterfacePath.getFireDevStatusList,body);
}
+
+ /**
+ * 鍒嗛〉鏌ヨ璁惧鐨勪互鍙婁笅灞炰紶鎰熷櫒鏁版嵁鐨勭姸鎬佺粺璁�
+ * @param body
+ * @return
+ */
+ public static String findDeviceStatistics(String body) {
+ return startDoPostStringArtemis(HKConstants.InterfacePath.findDeviceStatistics,body);
+ }
/**
*娑堥槻鐪嬫澘-4鎶ヨ淇℃伅缁熻
* @param body
@@ -874,12 +924,22 @@
return startDoPostStringArtemis(HKConstants.InterfacePath.userOpenidSave,null,header,body);
}
/**
+ *閫氳繃openId鎴杣serName绛夊垹闄ょ粦瀹氫俊鎭�
+ * @param param
+ * @return
+ */
+ public static String userOpenidDel(Map<String,String> param) {
+ Map<String,String> header = new HashMap<>();
+ header.put("userId","admin");
+ return startDoGetStringArtemis(HKConstants.InterfacePath.userOpenidDel,param,header);
+ }
+ /**
*鍒嗛〉鏌ヨ璁惧鐩戞祴鍘嗗彶鏁版嵁
* @param body
* @return
*/
public static String minitorDataSearch(String body) {
- return startDoPostStringArtemis(HKConstants.InterfacePath.minitorDataSearch,body);
+ return startDoPostStringArtemis(HKConstants.InterfacePath.minitorDataSearchV1,body);
}
/**
* 缁熻鍥尯鎬讳綋鐨勫畨闃茶澶囨暟閲忥紝鍦ㄧ嚎鏁般�佸湪绾跨巼銆佺绾挎暟銆佺绾跨巼
--
Gitblit v1.9.3