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
3ce9653a
Commit
3ce9653a
authored
Jan 20, 2021
by
WeiCong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
be81bc61
38a450a6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
AbstractCache.java
...n/java/org/sss/presentation/noui/cache/AbstractCache.java
+19
-0
eibs-pojosupport-2.0.0.jar
src/main/webapp/WEB-INF/lib/eibs-pojosupport-2.0.0.jar
+0
-0
No files found.
src/main/java/org/sss/presentation/noui/cache/AbstractCache.java
View file @
3ce9653a
...
...
@@ -2,6 +2,7 @@ package org.sss.presentation.noui.cache;
import
org.hibernate.Criteria
;
import
org.hibernate.Query
;
import
org.hibernate.internal.QueryImpl
;
import
org.sss.common.model.CacheController
;
import
org.sss.common.model.IModuleList
;
import
org.sss.presentation.noui.common.Constants
;
...
...
@@ -60,6 +61,24 @@ public abstract class AbstractCache implements CacheController {
sb
.
append
(
SPLIT
.
intern
());
sb
.
append
(
offset
);
}
//添加数据计算key
if
(
o
instanceof
QueryImpl
)
{
Object
[]
values
=
((
QueryImpl
)
o
).
valueArray
();
if
(
values
!=
null
)
{
for
(
Object
val:
values
)
{
if
(
val
==
null
)
{
sb
.
append
(
"null"
);
}
else
sb
.
append
(
val
.
toString
());
sb
.
append
(
','
);
}
}
}
return
sb
.
toString
();
}
...
...
src/main/webapp/WEB-INF/lib/eibs-pojosupport-2.0.0.jar
View file @
3ce9653a
No preview for this file type
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