mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -111,10 +111,10 @@ public class SqlUtil {
|
||||
StringBuilder likeValue = StrUtil.builder(withLikeKeyword ? "LIKE " : "");
|
||||
switch (likeType) {
|
||||
case StartWith:
|
||||
likeValue.append('%').append(value);
|
||||
likeValue.append(value).append('%');
|
||||
break;
|
||||
case EndWith:
|
||||
likeValue.append(value).append('%');
|
||||
likeValue.append('%').append(value);
|
||||
break;
|
||||
case Contains:
|
||||
likeValue.append('%').append(value).append('%');
|
||||
|
Reference in New Issue
Block a user