【fix sonar】DataBaseConstant文件

This commit is contained in:
梁琦涛
2023-03-03 13:45:07 +08:00
parent 168f454ffa
commit b517a2cf45
@@ -2,7 +2,11 @@ package com.jero.common.constant;
/** /**
* 数据库上下文常量 * 数据库上下文常量
*/ */
public interface DataBaseConstant { public class DataBaseConstant {
private DataBaseConstant(){
}
//*********数据库类型**************************************** //*********数据库类型****************************************
public static final String DB_TYPE_MYSQL = "MYSQL"; public static final String DB_TYPE_MYSQL = "MYSQL";
public static final String DB_TYPE_ORACLE = "ORACLE"; public static final String DB_TYPE_ORACLE = "ORACLE";
@@ -115,9 +119,9 @@ public interface DataBaseConstant {
/** /**
* 租户ID 实体字段名 * 租户ID 实体字段名
*/ */
String TENANT_ID = "tenantId"; public static final String TENANT_ID = "tenantId";
/** /**
* 租户ID 数据库字段名 * 租户ID 数据库字段名
*/ */
String TENANT_ID_TABLE = "tenant_id"; public static final String TENANT_ID_TABLE = "tenant_id";
} }