| 程序包 | 说明 |
|---|---|
| com.baomidou.mybatisplus.enums |
枚举类
|
| com.baomidou.mybatisplus.mapper |
自动处理 CURD 基本 SQL 相关类
|
| com.baomidou.mybatisplus.toolkit |
工具包类
|
| 限定符和类型 | 方法和说明 |
|---|---|
static SqlLike |
SqlLike.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlLike[] |
SqlLike.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Wrapper<T> |
Wrapper.like(String column,
String value,
SqlLike type)
LIKE条件语句,value中无需前后%
|
Wrapper<T> |
Wrapper.notLike(String column,
String value,
SqlLike type)
NOT LIKE条件语句,value中无需前后%
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
SqlUtils.concatLike(String str,
SqlLike type)
用%连接like
|
Copyright © 2017. All rights reserved.