【fix sonar】DataBaseConstant文件
This commit is contained in:
+11
-7
@@ -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";
|
||||||
@@ -40,7 +44,7 @@ public interface DataBaseConstant {
|
|||||||
* 数据-系统用户编码(对应登录用户账号)
|
* 数据-系统用户编码(对应登录用户账号)
|
||||||
*/
|
*/
|
||||||
public static final String SYS_USER_CODE_TABLE = "sys_user_code";
|
public static final String SYS_USER_CODE_TABLE = "sys_user_code";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 登录用户真实姓名
|
* 登录用户真实姓名
|
||||||
*/
|
*/
|
||||||
@@ -66,8 +70,8 @@ public interface DataBaseConstant {
|
|||||||
*/
|
*/
|
||||||
public static final String SYS_TIME_TABLE = "sys_time";
|
public static final String SYS_TIME_TABLE = "sys_time";
|
||||||
//*********系统上下文变量****************************************
|
//*********系统上下文变量****************************************
|
||||||
|
|
||||||
|
|
||||||
//*********系统建表标准字段****************************************
|
//*********系统建表标准字段****************************************
|
||||||
/**
|
/**
|
||||||
* 创建者登录名称
|
* 创建者登录名称
|
||||||
@@ -101,7 +105,7 @@ public interface DataBaseConstant {
|
|||||||
* 更新日期时间
|
* 更新日期时间
|
||||||
*/
|
*/
|
||||||
public static final String UPDATE_TIME_TABLE = "update_time";
|
public static final String UPDATE_TIME_TABLE = "update_time";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 业务流程状态
|
* 业务流程状态
|
||||||
*/
|
*/
|
||||||
@@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user