yangys
2024-04-04 2cf2921440e7473ae50796c2cb688f609b3a7995
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
    }
}