All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.diboot.core.methods.RecycleBinSqlMethod Maven / Gradle / Ivy

There is a newer version: 3.4.2
Show newest version
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