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
38a450a6
Commit
38a450a6
authored
Jan 19, 2021
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复Query模式下的key计算
parent
8122ae89
Hide 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 @
38a450a6
...
@@ -2,6 +2,7 @@ package org.sss.presentation.noui.cache;
...
@@ -2,6 +2,7 @@ package org.sss.presentation.noui.cache;
import
org.hibernate.Criteria
;
import
org.hibernate.Criteria
;
import
org.hibernate.Query
;
import
org.hibernate.Query
;
import
org.hibernate.internal.QueryImpl
;
import
org.sss.common.model.CacheController
;
import
org.sss.common.model.CacheController
;
import
org.sss.common.model.IModuleList
;
import
org.sss.common.model.IModuleList
;
import
org.sss.presentation.noui.common.Constants
;
import
org.sss.presentation.noui.common.Constants
;
...
@@ -60,6 +61,24 @@ public abstract class AbstractCache implements CacheController {
...
@@ -60,6 +61,24 @@ public abstract class AbstractCache implements CacheController {
sb
.
append
(
SPLIT
.
intern
());
sb
.
append
(
SPLIT
.
intern
());
sb
.
append
(
offset
);
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
();
return
sb
.
toString
();
}
}
...
...
src/main/webapp/WEB-INF/lib/eibs-pojosupport-2.0.0.jar
View file @
38a450a6
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