diff --git a/code/sql/HmbXyxInfo.sql b/code/sql/小药箱接口/HmbXyxInfo.sql similarity index 100% rename from code/sql/HmbXyxInfo.sql rename to code/sql/小药箱接口/HmbXyxInfo.sql diff --git a/code/sql/触发器.txt b/code/sql/小药箱接口/触发器.txt similarity index 100% rename from code/sql/触发器.txt rename to code/sql/小药箱接口/触发器.txt diff --git a/code/sql/调试.sql b/code/sql/小药箱接口/调试.sql similarity index 100% rename from code/sql/调试.sql rename to code/sql/小药箱接口/调试.sql diff --git a/code/sql/理赔案件备份/InsuranceBill.sql b/code/sql/理赔案件备份/InsuranceBill.sql new file mode 100644 index 0000000..3536a9d --- /dev/null +++ b/code/sql/理赔案件备份/InsuranceBill.sql @@ -0,0 +1,17 @@ +drop table `Insurance_Bill`; +create Table `Insurance_Bill` ( + `cxCaseId` varchar(30) not null comment '宸汐案件号', + `billId` varchar(30) not null comment '发票号', + `hospitalName` varchar(200) not null comment '医院名称', + `completeTime` char(10) not null comment '结案时间', + `inquiryStartTime` char(10) not null comment '就诊时间', + `inquiryEndTime` char(10) not null comment '出院时间', + `billTimes` char(10) comment '发票日期', + `insurancePayAmount` decimal(16,2) not null comment '医保支付金额(元)', + `selfPayAmountOne` decimal(16,2) not null comment '自付一', + `selfPayAmountTwo` decimal(16,2) not null comment '自付二', + `selfAmount` decimal(16,2) not null comment '自费', + `bnOtherAmount` decimal(16,2) comment '保内除外金额', + `bnReasonOne` varchar(1000) comment '保内除外金额原因', + `billAmount` decimal(16,2) not null comment '发票合计金额' +) DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '发票信息表' \ No newline at end of file diff --git a/code/sql/理赔案件备份/InsurancePrescription.sql b/code/sql/理赔案件备份/InsurancePrescription.sql new file mode 100644 index 0000000..85af54b --- /dev/null +++ b/code/sql/理赔案件备份/InsurancePrescription.sql @@ -0,0 +1,18 @@ +drop table `Insurance_Prescription`; +create table `Insurance_Prescription` +( + `cxCaseId` varchar(30) not null comment '宸汐案件号', + `drugName` varchar(200) comment '药品商品名', + `unit` varchar(100) comment '药品单位', + `dose` varchar(100) comment '药品剂量', + `frequency` varchar(100) comment '药品频次', + `factoryName` varchar(100) comment '厂商', + `spec` varchar(100) comment '规格', + `quantity` varchar(100) comment '数量', + `price` varchar(100) comment '单价', + `prescriptionTime` varchar(10) comment '开方日期', + `pharmacyName` varchar(100) comment '药房名称', + `otherAmount` decimal(16,2) comment '其他扣除费用', + `remark` varchar(1000) comment '备注(账单信息的备注)' +) +default charset=utf8mb4 comment='案件处方表' \ No newline at end of file diff --git a/code/sql/理赔案件备份/InsuranceResult.sql b/code/sql/理赔案件备份/InsuranceResult.sql new file mode 100644 index 0000000..37b9e0b --- /dev/null +++ b/code/sql/理赔案件备份/InsuranceResult.sql @@ -0,0 +1,11 @@ +drop table `Insurance_Result`; +create table `Insurance_Result` ( + `cxCaseId` varchar(30) not null comment '宸汐案件号', + `dutyName` varchar(100) not null comment '责任名称', + `rationalAmount` decimal(16, 2) not null comment '合理金额', + `localProportion` varchar(100) not null comment '赔付比例', + `outProportion` varchar(100) not null comment '异地报销比例', + `compensationAmount` decimal(16, 2) not null comment '赔付金额', + `payAmount` decimal(16, 2) not null comment '赔付金额', + `responsibilityAmount` decimal(16, 2) not null comment '责任赔付金额' +) default charset = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '理算结果表' \ No newline at end of file diff --git a/文档/惠厦保数据备份接口/惠厦保数据推送接口文档(1).docx b/文档/惠厦保数据备份接口/惠厦保数据推送接口文档(1).docx new file mode 100644 index 0000000..20951f2 Binary files /dev/null and b/文档/惠厦保数据备份接口/惠厦保数据推送接口文档(1).docx differ diff --git a/文档/惠厦保数据备份接口/惠厦保数据推送接口文档.docx b/文档/惠厦保数据备份接口/惠厦保数据推送接口文档.docx new file mode 100644 index 0000000..8733cfd Binary files /dev/null and b/文档/惠厦保数据备份接口/惠厦保数据推送接口文档.docx differ