public enum SqlMethod extends Enum<SqlMethod>
MybatisPlus 支持 SQL 方法
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDesc() |
String |
getMethod() |
String |
getSql() |
static SqlMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlMethod INSERT_ONE
public static final SqlMethod INSERT_ONE_ALL_COLUMN
public static final SqlMethod DELETE_BY_ID
public static final SqlMethod DELETE_BY_MAP
public static final SqlMethod DELETE
public static final SqlMethod DELETE_BATCH_BY_IDS
public static final SqlMethod LOGIC_DELETE_BY_ID
public static final SqlMethod LOGIC_DELETE_BY_MAP
public static final SqlMethod LOGIC_DELETE
public static final SqlMethod LOGIC_DELETE_BATCH_BY_IDS
public static final SqlMethod UPDATE_BY_ID
public static final SqlMethod UPDATE_ALL_COLUMN_BY_ID
public static final SqlMethod UPDATE
public static final SqlMethod LOGIC_UPDATE_BY_ID
public static final SqlMethod LOGIC_UPDATE_ALL_COLUMN_BY_ID
public static final SqlMethod SELECT_BY_ID
public static final SqlMethod SELECT_BY_MAP
public static final SqlMethod SELECT_BATCH_BY_IDS
public static final SqlMethod SELECT_ONE
public static final SqlMethod SELECT_COUNT
public static final SqlMethod SELECT_LIST
public static final SqlMethod SELECT_PAGE
public static final SqlMethod SELECT_MAPS
public static final SqlMethod SELECT_MAPS_PAGE
public static final SqlMethod SELECT_OBJS
public static final SqlMethod LOGIC_SELECT_BY_ID
public static final SqlMethod LOGIC_SELECT_BATCH_BY_IDS
public static SqlMethod[] values()
for (SqlMethod c : SqlMethod.values()) System.out.println(c);
public static SqlMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getMethod()
public String getDesc()
public String getSql()
Copyright © 2017. All rights reserved.