From 065142057ba3983af899991085e37ac1ec502320 Mon Sep 17 00:00:00 2001
From: aijinhui <aijinhui>
Date: 星期二, 19 九月 2023 14:06:30 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
ard-work/src/main/java/com/ruoyi/sy/gps31/PositionContainer.java | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ard-work/src/main/java/com/ruoyi/sy/gps31/PositionContainer.java b/ard-work/src/main/java/com/ruoyi/sy/gps31/PositionContainer.java
index 10ba5ff..e9f34fc 100644
--- a/ard-work/src/main/java/com/ruoyi/sy/gps31/PositionContainer.java
+++ b/ard-work/src/main/java/com/ruoyi/sy/gps31/PositionContainer.java
@@ -1,12 +1,13 @@
package com.ruoyi.sy.gps31;
import java.util.HashMap;
-import java.util.List;
import java.util.Map;
public class PositionContainer {
private static Map<String, Map<String,Map<String,Object>>> deptPositionMap = new HashMap();//渚濋儴闂ㄥ瓨鏀惧疄鏂借溅杈嗕綅缃�:deptId锛宑arId锛岃溅杈嗕綅缃�
+
+ private static Map<String, Map<String,Map<String,Object>>> userPositionMap = new HashMap();//渚濈敤鎴峰瓨鏀惧疄鏂借溅杈嗕綅缃�:userId锛宑arId锛岃溅杈嗕綅缃�
public static synchronized Map<String, Map<String, Map<String,Object>>> getDeptPositionMap() {
return deptPositionMap;
@@ -16,4 +17,11 @@
PositionContainer.deptPositionMap = deptPositionMap;
}
+ public static synchronized Map<String, Map<String, Map<String, Object>>> getUserPositionMap() {
+ return userPositionMap;
+ }
+
+ public static synchronized void setUserPositionMap(Map<String, Map<String, Map<String, Object>>> userPositionMap) {
+ PositionContainer.userPositionMap = userPositionMap;
+ }
}
--
Gitblit v1.9.3