Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nouiWithSpringMVC
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gechengyang
nouiWithSpringMVC
Commits
b3d89d6f
Commit
b3d89d6f
authored
Sep 27, 2020
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消自动添加
parent
a46253ca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
NoUiPresentationUtil.java
.../org/sss/presentation/noui/util/NoUiPresentationUtil.java
+11
-12
No files found.
src/main/java/org/sss/presentation/noui/util/NoUiPresentationUtil.java
View file @
b3d89d6f
...
...
@@ -249,20 +249,8 @@ public class NoUiPresentationUtil {
for
(
IDatafield
<
Object
>
datafield
:
datafields
)
{
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
);
}
//记录缓存列表进入数据
cacheDataKeys
(
cacheRecord
.
toArray
(
new
String
[
0
]));
return
list
;
}
else
if
(
val
instanceof
IModule
)
{
val
=
context
.
getSession
().
getBaseObject
(
context
.
getRoot
(),
path
);
...
...
@@ -436,4 +424,15 @@ public class NoUiPresentationUtil {
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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment