Commit f11a534b authored by yanzg's avatar yanzg

修改日志打印功能,打印更加详细的日志

parent 5264a186
...@@ -47,7 +47,7 @@ public class DbPrintSqlDefault implements DbPrintSql { ...@@ -47,7 +47,7 @@ public class DbPrintSqlDefault implements DbPrintSql {
Object item = paras.length > pos ? paras[pos] : null; Object item = paras.length > pos ? paras[pos] : null;
String str = StringHelper.toString(item); String str = StringHelper.toString(item);
String strTo = str; String strTo = str;
if (str == null) { if (str == null || item == null) {
strTo = "null"; strTo = "null";
} else if (item instanceof Number || item.getClass().isEnum() || item instanceof Boolean) { } else if (item instanceof Number || item.getClass().isEnum() || item instanceof Boolean) {
// 不进行处理 // 不进行处理
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment