parent
7db1a58bfc
commit
6f18adb54a
@ -1,12 +1,21 @@
|
|||||||
package cn.iocoder.yudao.framework.mybatis.core.enums;
|
package cn.iocoder.yudao.framework.mybatis.core.enums;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.DbType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SQL相关常量类
|
* SQL相关常量类
|
||||||
*
|
*
|
||||||
* @author 芋道源码
|
* @author 芋道源码
|
||||||
*/
|
*/
|
||||||
public interface SqlConstants {
|
public class SqlConstants {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数据库的类型
|
||||||
|
*/
|
||||||
|
public static DbType DB_TYPE;
|
||||||
|
|
||||||
String LIMIT1 = "LIMIT 1";
|
public static void init(DbType dbType) {
|
||||||
|
DB_TYPE = dbType;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue