常量修改

This commit is contained in:
Zhang.WH
2025-02-25 11:32:50 +08:00
parent 9e700b42c9
commit 10b44933ab
15 changed files with 229 additions and 278 deletions

View File

@@ -1,18 +1,52 @@
package com.openhis.common.constant;
/**
* 共通常量
* 常量
*
* @author system
*/
public class CommonConstants {
/**
* 租户ID字段名称
* 共同常量
*/
public static final String TENANT_ID = "tenant_id";
public interface Common {
/**
* 租户ID字段名称
*/
String TENANT_ID = "tenant_id";
public static final String S_TIME = "STime";
/**
* 开始时间(用于分页条件查询)
*/
String S_TIME = "STime";
public static final String E_TIME = "ETime";
/**
* 结束时间(用于分页条件查询)
*/
String E_TIME = "ETime";
}
/**
* 表名常量
*/
public interface TableName {
/**
* 服务管理
*/
String ADM_HEALTHCARE_SERVICE = "adm_healthcare_service";
}
/**
* 字段名常量
*/
public interface FieldName {
/**
* 业务编码
*/
String BusNo = "bus_no";
}
}

View File

@@ -1,52 +0,0 @@
package com.openhis.common.constant;
/**
* APL消息ID常量类
*/
public interface PromptMsgConstant {
/**
* 共用
*/
interface Common {
/**
* {0}添加成功
*/
String M00001 = "apl.common.M00001";
/**
* {0}保存成功
*/
String M00002 = "apl.common.M00002";
/**
* {0}已经存在
*/
String M00003 = "apl.common.M00003";
/**
* {0}操作成功
*/
String M00004 = "apl.common.M00004";
/**
* {0}删除成功
*/
String M00005 = "apl.common.M00005";
/**
* 操作失败,该数据已被他人删除,请刷新后重试
*/
String M00006 = "apl.common.M00006";
/**
* 操作失败,该数据已被他人更改,请刷新后重试
*/
String M00007 = "apl.common.M00007";
/**
* 请勿重复提交
*/
String M00008 = "apl.common.M00008";
/**
* 查询成功
*/
String M00009 = "apl.common.M00009";
}
}

View File

@@ -1,14 +0,0 @@
package com.openhis.common.constant;
/**
* 表名常量
*
* @author system
*/
public class TableNameConstants {
/**
* 服务管理
*/
public static final String ADM_HEALTHCARE_SERVICE = "adm_healthcare_service";
}