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
3202cbf5
Commit
3202cbf5
authored
Sep 09, 2020
by
cjh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改递归死循环bug
parent
80c8f851
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
AbstractCommonController.java
...resentation/noui/controller/AbstractCommonController.java
+12
-3
No files found.
src/main/java/org/sss/presentation/noui/controller/AbstractCommonController.java
View file @
3202cbf5
...
@@ -192,11 +192,19 @@ public abstract class AbstractCommonController {
...
@@ -192,11 +192,19 @@ public abstract class AbstractCommonController {
log
.
error
(
"错误的modifymap:"
+
noUiRequest
.
getMappingUrl
()+
"--"
+
modifyMap
);
log
.
error
(
"错误的modifymap:"
+
noUiRequest
.
getMappingUrl
()+
"--"
+
modifyMap
);
continue
;
continue
;
}
}
if
(
aliasPath
.
startsWith
(
modifyEntry
.
getKey
()))
{
int
modKeyLen
=
modifyEntry
.
getKey
().
length
();
if
(
aliasPath
.
equals
(
modifyEntry
.
getKey
())
||
(
aliasPath
.
startsWith
(
modifyEntry
.
getKey
()))
&&
aliasPath
.
charAt
(
modKeyLen
)
==
'\\'
){
Object
val
=
modifyEntry
.
getValue
();
Object
val
=
modifyEntry
.
getValue
();
if
(
aliasKey
==
null
)
if
(
aliasKey
==
null
)
continue
;
continue
;
data
.
put
(
aliasKey
,
NoUiPresentationUtil
.
handIBaseObject
(
context
,
val
,
aliasEntry
.
getValue
()));
if
(
aliasPath
.
length
()
>
modKeyLen
&&
val
instanceof
IModule
){
IBaseObject
obj
=
context
.
getSession
().
getBaseObject
((
IModule
)
val
,
aliasPath
.
substring
(
modKeyLen
));
if
(!(
obj
instanceof
IModule
))
data
.
put
(
aliasKey
,
NoUiPresentationUtil
.
handIBaseObject
(
context
,
obj
,
aliasEntry
.
getValue
()));
}
else
data
.
put
(
aliasKey
,
NoUiPresentationUtil
.
handIBaseObject
(
context
,
val
,
aliasEntry
.
getValue
()));
containsKeys
.
add
(
modifyEntry
.
getKey
());
containsKeys
.
add
(
modifyEntry
.
getKey
());
}
}
...
@@ -212,7 +220,8 @@ public abstract class AbstractCommonController {
...
@@ -212,7 +220,8 @@ public abstract class AbstractCommonController {
System
.
out
.
println
(
"modify moduleList:"
+
(
modifyMap
.
get
(
key
)
instanceof
IModuleList
));
System
.
out
.
println
(
"modify moduleList:"
+
(
modifyMap
.
get
(
key
)
instanceof
IModuleList
));
if
(
key
==
null
)
if
(
key
==
null
)
continue
;
continue
;
data
.
put
(
key
,
NoUiPresentationUtil
.
handIBaseObject
(
context
,
modifyMap
.
get
(
key
),
key
));
if
(!(
modifyMap
.
get
(
key
)
instanceof
IModule
))
data
.
put
(
key
,
NoUiPresentationUtil
.
handIBaseObject
(
context
,
modifyMap
.
get
(
key
),
key
));
}
}
}
}
...
...
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