From 0e3a6cac9b374fca07b94768f03ecd9ec389acc9 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 24 四月 2024 17:17:40 +0800 Subject: [PATCH] 4、因日志记录的大字段信息太长导致卡顿,所以调整集成日志,操作日志,本地日志,修改表格列表不查询显示大字段,点击详情时才显示详细信息。 5、日志页面增加查询属性(页面显示的属性都加上),支持模糊查询。 --- Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/util/UBCSSqlKeyword.java | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/util/UBCSSqlKeyword.java b/Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/util/UBCSSqlKeyword.java index bc1eb1f..6b2e357 100644 --- a/Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/util/UBCSSqlKeyword.java +++ b/Source/UBCS/ubcs-service-api/ubcs-util-api/src/main/java/com/vci/ubcs/starter/util/UBCSSqlKeyword.java @@ -38,7 +38,6 @@ private static final String NOT_NULL = "_notnull"; private static final String IGNORE = "_ignore"; - public UBCSSqlKeyword() { } @@ -54,6 +53,7 @@ } return sqlwhere; } + private static String sqlKeywordValueSqlwhere(String field, Object value, SqlKeyword operation){ String sqlwhere=""; switch(operation) { @@ -83,6 +83,7 @@ } return sqlwhere; } + private static String dateValueSqlwhere(String field, Object value, SqlKeyword operation){ String sqlwhere=""; switch(operation) { @@ -101,6 +102,7 @@ } return sqlwhere; } + public static String buildSqlwhere(Map<String, Object> query) { StringBuffer sb=new StringBuffer(); if (!Func.isEmpty(query)) { @@ -151,6 +153,7 @@ return sb.toString(); } + public static void buildCondition(Map<String, Object> query, QueryWrapper<?> qw) { if (!Func.isEmpty(query)) { query.forEach((k, v) -> { @@ -248,7 +251,8 @@ }); } } - public static MPJLambdaWrapper buildConditionByMapString(Map<String, String> query) { + + public static MPJLambdaWrapper buildConditionByMapString(Map<String, String> query) { MPJLambdaWrapper<?>qw=new MPJLambdaWrapper<>(); if (!Func.isEmpty(query)) { query.forEach((k, v) -> { @@ -294,6 +298,7 @@ }; return qw; } + public static void buildConditionByMapString(Map<String, String> query, MPJLambdaWrapper<?> qw) { if (!Func.isEmpty(query)) { query.forEach((k, v) -> { -- Gitblit v1.9.3