From 37d730454255d0680c2bc4f1e15dc5cd1a55e6a9 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 30 十月 2024 09:58:36 +0800
Subject: [PATCH] 部门分配成员接口和界面传参修改,枚举修改报错修复提交

---
 Source/Service/UIService/src/com/vci/server/portal/cache/PortalVICacheUtil.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Source/Service/UIService/src/com/vci/server/portal/cache/PortalVICacheUtil.java b/Source/Service/UIService/src/com/vci/server/portal/cache/PortalVICacheUtil.java
index 2d9e193..cd2e611 100644
--- a/Source/Service/UIService/src/com/vci/server/portal/cache/PortalVICacheUtil.java
+++ b/Source/Service/UIService/src/com/vci/server/portal/cache/PortalVICacheUtil.java
@@ -120,12 +120,12 @@
 		
 		for (String key : mapTemp.keySet()) {
 			List<String> lstTemp = mapTemp.get(key);
-			RedisUtil.getInstance().hset(getName(), "MAP-" + key, String.join(";", lstTemp));
+			RedisUtil.getInstance().hset(getName(), TYPEMAP + key, String.join(";", lstTemp));
 		}
 	}
 	
 	public PortalVI[] getPortalVIArrayByTypeName(String typeName) throws VCIError {
-		String temp = RedisUtil.getInstance().hget(getName(), "MAP-" + typeName);
+		String temp = RedisUtil.getInstance().hget(getName(), TYPEMAP + typeName);
 		if (StringUtils.isBlank(temp))
 			return new PortalVI[0];
 		
@@ -199,7 +199,7 @@
 	}
 	
 	public PortalVI[] getPortalVIByObjTypeAndLikeName(String typeName, String viName) throws VCIError {
-		String temp = RedisUtil.getInstance().hget(getName(), typeName);
+		String temp = RedisUtil.getInstance().hget(getName(), TYPEMAP + typeName);
 		if (StringUtils.isBlank(temp))
 			return new PortalVI[0];
 		
@@ -216,7 +216,7 @@
 	}
 	
 	public PortalVI getPortalVIByCondition(String typeName, int sheetType, String sheetName) throws VCIError {
-		String temp = RedisUtil.getInstance().hget(getName(), typeName);
+		String temp = RedisUtil.getInstance().hget(getName(), TYPEMAP + typeName);
 		if (StringUtils.isBlank(temp))
 			return null;
 		
@@ -233,7 +233,7 @@
 	}
 	
 	public int getPortalVICountByCondition(String typeName, int sheetType, String sheetName) throws VCIError {
-		String temp = RedisUtil.getInstance().hget(getName(), typeName);
+		String temp = RedisUtil.getInstance().hget(getName(), TYPEMAP + typeName);
 		if (StringUtils.isBlank(temp))
 			return 0;
 		

--
Gitblit v1.9.3