提交merge1.3

This commit is contained in:
2025-12-27 15:30:25 +08:00
parent 8c607c8749
commit 088861f66e
1245 changed files with 220442 additions and 77616 deletions

View File

@@ -1,5 +1,7 @@
package com.openhis.common.constant;
import java.math.BigDecimal;
/**
* 常量
*
@@ -41,6 +43,11 @@ public class CommonConstants {
*/
String SS_DD_FORMAT = "%s-%s-%d-%d";
/**
* 拼接符(s-d-d)
*/
String S_DD_FORMAT = "%s-%d-%d";
/**
* 逗号
*/
@@ -70,6 +77,16 @@ public class CommonConstants {
* 地区码
*/
String AREA_CODE = "000000";
/**
* GET
*/
String REQUEST_MAPPING_METHOD_GET = "GET";
/**
* POST
*/
String REQUEST_MAPPING_METHOD_POST = "POST";
}
/**
@@ -284,6 +301,14 @@ public class CommonConstants {
* 项目分类
*/
String MedCategoryCode = "med_category_code";
<<<<<<< HEAD
=======
/**
* 耗材分类
*/
String DevCategoryCode = "dev_category_code";
>>>>>>> v1.3
/**
* 门诊号
@@ -325,7 +350,11 @@ public class CommonConstants {
String ChargeTime = "charge_time";
/**
<<<<<<< HEAD
* 审批时间
=======
* 申请人
>>>>>>> v1.3
*/
String ApplicantName = "applicant_name";
@@ -345,6 +374,14 @@ public class CommonConstants {
String ItemId = "item_id";
/**
<<<<<<< HEAD
=======
* 项目编号
*/
String ItemNo = "item_no";
/**
>>>>>>> v1.3
* 项目所在表
*/
String ItemTable = "item_table";
@@ -363,12 +400,29 @@ public class CommonConstants {
* 校对人Id
*/
String PerformerCheckId = "performer_check_id";
<<<<<<< HEAD
=======
>>>>>>> v1.3
/**
* 单位
*/
String UnitCode = "unit_code";
/**
<<<<<<< HEAD
=======
* 用法
*/
String MethodCode = "method_code";
/**
* 用药频次
*/
String RateCode = "rate_code";
/**
>>>>>>> v1.3
* 住院开始时间
*/
String StartTime = "start_time";
@@ -392,6 +446,29 @@ public class CommonConstants {
* 过期天数
*/
String RemainingDays = "remaining_days";
<<<<<<< HEAD
=======
/**
* 追溯码
*/
String TraceNo = "trace_no";
/**
* encounter状态
*/
String StatusEnum = "status_enum";
/**
* 诊室ID
*/
String OrgId = "org_id";
/**
* 入科科室ID
*/
String InHospitalOrgId = "in_hospital_org_id";
>>>>>>> v1.3
}
/**
@@ -549,4 +626,157 @@ public class CommonConstants {
String DisDeviceDoctorName = "张桂英";
}
/**
* excel导出常量
*/
public interface ExcelOut {
// "0"的
String CONSTANTZERO = "0";
// 0.00
String CONSTANT_ZERO_DML = "0.00";
// 药品
String MEDICATION = "药品";
// 耗材
String DEVICE = "耗材";
// 未知类型
String UNKONWN_TYPE = "未知类型";
// 否
String NO = "";
// 是
String YES = "";
// BigDecimal类型的0
BigDecimal ZERO = new BigDecimal(0);
// 元
String YUAN = "";
}
/**
* excel导出的sheet名称
*/
public interface SheetName {
/**
* 发药明细
*/
String SHEET_NAME_DRUG_DETAIL = "发药明细";
/**
* 住院发药单
*/
String INPATIENT_DISPENSING = "住院发药单";
/**
* 库存明细记录
*/
String INVENTORY_DETAIL_RECORD = "库存明细记录";
/**
* 住院汇总单
*/
String INPATIENT_AGGREGATE_ORDER = "住院汇总单";
/**
* 调拨单据明细
*/
String TRANSFER_DOCUMENT_DETAIL = "调拨单据明细";
/**
* 入库单明细
*/
String WAREHOUSE_ENTRY_DETAIL = "入库单明细";
/**
* 盘点单明细
*/
String INVENTORY_LIST_DETAIL = "盘点单明细";
/**
* 采购退货明细
*/
String PURCHASE_RETURN_DETAIL = "采购退货明细";
/**
* 报损单据明细
*/
String LOSS_REPORT_DETAIL = "报损单据明细";
/**
* 领用单据明细
*/
String REQUISITION_FORM_DETAIL = "领用单据明细";
/**
* 退库单据明细
*/
String RETURN_WAREHOUSE_DETAIL = "退库单据明细";
/**
* 年度药品总收入
*/
String ANNUAL_TOTAL_DRUG_REVENUE = "年度药品总收入";
/**
* 药品调拨详情
*/
String DRUG_TRANSFER_DETAILS = "药品调拨详情";
/**
* 库存审批详情
*/
String INVENTORY_APPROVAL_DETAILS = "库存审批详情";
/**
* 领用出库单
*/
String REQUISITION_DELIVERY_FORM = "领用出库单";
/**
* 费用明细
*/
String COST_DETAILS = "费用明细";
/**
* 采购入库单
*/
String PURCHASE_RECEIPT_ORDER = "采购入库单";
}
/**
* 导出时需要隐藏的列
*/
public interface CellName {
/**
* 源仓库
*/
String SOURCE_LOCATION_NAME = "sourceLocationName";
/**
* 目的仓库
*/
String PURPOSE_LOCATION_NAME = "purposeLocationName";
}
/**
* 工具方法常量
*/
public interface UtilMethodConstant {
/**
* 是否四舍五入(与余数作比较)的临界值 例0.86 -> 0.85 0.88 -> 0.90
*/
Double THRESHOLD_VALUE = 0.02;
}
/**
* 数字常量
*/
public interface NumConstant {
/**
* 数字 1
*/
Integer ONE = 1;
}
/**
* 发药明细-统计类型
*/
public interface StatisticalType {
/**
* 住院耗材记账领用明细
*/
Integer DETAIL_DEVICE_TYPE = 5;
/**
* 住院耗材记账领用流水账
*/
Integer ACCOUNT_DEVICE_TYPE = 6;
}
}