【fix sonar】DataBaseConstant文件
This commit is contained in:
+7
-3
@@ -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_ORACLE = "ORACLE";
|
||||
@@ -115,9 +119,9 @@ public interface DataBaseConstant {
|
||||
/**
|
||||
* 租户ID 实体字段名
|
||||
*/
|
||||
String TENANT_ID = "tenantId";
|
||||
public static final String TENANT_ID = "tenantId";
|
||||
/**
|
||||
* 租户ID 数据库字段名
|
||||
*/
|
||||
String TENANT_ID_TABLE = "tenant_id";
|
||||
public static final String TENANT_ID_TABLE = "tenant_id";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user