mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -264,7 +264,7 @@ public class SqlBuilder implements Builder<String> {
|
||||
sql.append("UPDATE ").append(tableName).append(" SET ");
|
||||
entity.forEach((field, value) -> {
|
||||
if (StrUtil.isNotBlank(field)) {
|
||||
if (paramValues.size() > 0) {
|
||||
if (!paramValues.isEmpty()) {
|
||||
sql.append(", ");
|
||||
}
|
||||
sql.append((null != quoteWrapper) ? quoteWrapper.wrap(field) : field).append(" = ? ");
|
||||
|
@@ -26,7 +26,7 @@ public class SqlLog {
|
||||
/**
|
||||
* 单例
|
||||
*/
|
||||
public static SqlLog INSTANCE = new SqlLog();
|
||||
public static final SqlLog INSTANCE = new SqlLog();
|
||||
|
||||
private final static Log log = Log.get();
|
||||
|
||||
|
Reference in New Issue
Block a user