Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
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
platform
hp-smart
Commits
a0b0212e
Commit
a0b0212e
authored
Nov 13, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加条件过滤
parent
1584d1b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
SqlMapDaoLogProxy.java
...sight/iplat4j/core/data/ibatis/dao/SqlMapDaoLogProxy.java
+1
-1
No files found.
src/main/java/com/baosight/iplat4j/core/data/ibatis/dao/SqlMapDaoLogProxy.java
View file @
a0b0212e
...
@@ -202,7 +202,7 @@ public class SqlMapDaoLogProxy extends SqlMapDao {
...
@@ -202,7 +202,7 @@ public class SqlMapDaoLogProxy extends SqlMapDao {
private
void
setDataAuth
(
String
name
,
Object
parameters
)
{
private
void
setDataAuth
(
String
name
,
Object
parameters
)
{
// 需要过滤部分sql name,否则会形成死循环
// 需要过滤部分sql name,否则会形成死循环
String
[]
serviceFilter
=
{
"HPXSUser"
,
"HPXSOrg"
,
"HPPZ009.query"
,
"HPPZ010.query"
,
"HPPZ030"
,
"HPPZ030A"
,
String
[]
serviceFilter
=
{
"HPXSUser"
,
"HPXSOrg"
,
"HPPZ009.query"
,
"HPPZ010.query"
,
"HPPZ030"
,
"HPPZ030A"
,
"HPPZ031"
};
"HPPZ031"
,
"HPSB002.queryMaxDate"
};
if
(
StringUtils
.
startsWithAny
(
name
,
serviceFilter
))
{
if
(
StringUtils
.
startsWithAny
(
name
,
serviceFilter
))
{
return
;
return
;
}
}
...
...
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