Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
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
s_guodong
gjjs-bd-common
Commits
dca7e991
Commit
dca7e991
authored
Nov 02, 2023
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化日志级别
parent
18a2664d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MyBatisDaoSession.java
...com/brilliance/mda/support/mybatis/MyBatisDaoSession.java
+4
-4
No files found.
gjjs-bd-mybatis-support/src/main/java/com/brilliance/mda/support/mybatis/MyBatisDaoSession.java
View file @
dca7e991
...
...
@@ -318,7 +318,6 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession
while
((
i
=
rsReader
.
read
(
chs
))
!=
-
1
)
{
sb
.
append
(
chs
,
0
,
i
);
}
System
.
out
.
println
(
"clob to string >>"
+
sb
.
toString
());
method
.
invoke
(
module
,
sb
.
toString
());
}
catch
(
Exception
e
)
{
log
.
error
(
"执行方法{}时CLOB类型数据转String异常"
,
methodName
);
...
...
@@ -334,17 +333,18 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession
}
}
}
catch
(
NoSuchMethodException
e
)
{
log
.
info
(
"类{}中,根据方法名{},入参类型{}未找到方法"
,
iModule
.
getDataClass
().
getName
(),
methodName
,
field
.
getType
());
log
.
error
(
"类{}中,根据方法名{},入参类型{}未找到方法"
,
iModule
.
getDataClass
().
getName
(),
methodName
,
field
.
getType
());
throw
new
RuleExecuteException
(
"执行方法出错"
,
e
);
}
catch
(
IllegalAccessException
e
)
{
log
.
info
(
"执行方法{},需要入参类型{},实际传入参数类型{}"
,
methodName
,
field
.
getType
(),
fieldVal
.
getClass
().
getName
());
log
.
error
(
"执行方法{},需要入参类型{},实际传入参数类型{}"
,
methodName
,
field
.
getType
(),
fieldVal
.
getClass
().
getName
());
throw
new
RuleExecuteException
(
"执行方法出错"
,
e
);
}
catch
(
IllegalArgumentException
e
)
{
log
.
error
(
"类{}执行方法{},需要入参类型{},实际传入参数类型{}"
,
iModule
.
getDataClass
().
getName
(),
methodName
,
field
.
getType
(),
fieldVal
.
getClass
().
getName
());
throw
new
RuleExecuteException
(
"执行方法出错"
,
e
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
error
(
e
.
getMessage
(),
e
);
throw
new
RuleExecuteException
(
"执行方法出错"
,
e
);
}
}
}
...
...
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