Commit b3d89d6f by fukai

取消自动添加

parent a46253ca
...@@ -249,20 +249,8 @@ public class NoUiPresentationUtil { ...@@ -249,20 +249,8 @@ public class NoUiPresentationUtil {
for (IDatafield<Object> datafield : datafields) { for (IDatafield<Object> datafield : datafields) {
map.put(changeForELCS(datafield.getName()), handle(datafield.getValue(), datafield)); map.put(changeForELCS(datafield.getName()), handle(datafield.getValue(), datafield));
} }
String[] keyParams = new String[paramsKey.length];
StringBuilder sb = new StringBuilder();
for(int i=0;i<paramsKey.length;i++)
{
if("$objtyp".equals(paramsKey[i]))
sb.append(module.getClass().getSimpleName().toLowerCase()); //module type
else
sb.append(map.get(paramsKey[i]).toString());
}
cacheRecord.add(sb.toString());
list.add(map); list.add(map);
} }
//记录缓存列表进入数据
cacheDataKeys(cacheRecord.toArray(new String[0]));
return list; return list;
} else if (val instanceof IModule) { } else if (val instanceof IModule) {
val = context.getSession().getBaseObject(context.getRoot(), path); val = context.getSession().getBaseObject(context.getRoot(), path);
...@@ -436,4 +424,15 @@ public class NoUiPresentationUtil { ...@@ -436,4 +424,15 @@ public class NoUiPresentationUtil {
return false; return false;
} }
} }
//添加值进入set
public static boolean putKeyToAllowedCache(String[] keys)
{
try {
RedisUtil.addMembers(getCacheSetKey(),keys);
} catch (Exception e) {
log.error(e.getMessage());
return false;
}
return true;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment