com.diboot.core.methods.RecycleBinSqlMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of diboot-core Show documentation
Show all versions of diboot-core Show documentation
diboot core extend by begcode
package com.diboot.core.methods;
public enum RecycleBinSqlMethod {
DELETE_BATCH_BY_IDS("deleteBatchIdsInRecycleBin", "根据ID集合,批量删除数据", ""),
UPDATE("updateInRecycleBin", "根据 whereEntity 条件,更新记录", ""),
DELETE("deleteInRecycleBin", "根据 entity 条件删除记录", ""),
SELECT_BY_ID("selectByIdInRecycleBin", "根据ID 查询一条数据", "SELECT %s FROM %s WHERE %s=#{%s} %s"),
SELECT_PAGE_IN_RECYCLE_BIN("selectPageInRecycleBin", "查询满足条件所有数据(并翻页)", "");
private final String method;
private final String desc;
private final String sql;
private RecycleBinSqlMethod(String method, String desc, String sql) {
this.method = method;
this.desc = desc;
this.sql = sql;
}
public String getMethod() {
return this.method;
}
public String getDesc() {
return this.desc;
}
public String getSql() {
return this.sql;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy