package com.qianwen.core.mp.injector;
|
|
/* loaded from: blade-starter-mybatis-9.3.0.0-SNAPSHOT.jar:org/springblade/core/mp/injector/BladeSqlMethod.class */
|
public enum BladeSqlMethod {
|
INSERT_IGNORE_ONE("insertIgnore", "插入一条数据(选择字段插入)", "<script>\nINSERT IGNORE INTO %s %s VALUES %s\n</script>"),
|
REPLACE_ONE("replace", "插入一条数据(选择字段插入)", "<script>\nREPLACE INTO %s %s VALUES %s\n</script>");
|
|
private final String method;
|
private final String desc;
|
private final String sql;
|
|
BladeSqlMethod(final String method, final String desc, final 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;
|
}
|
}
|