Compare commits
4 Commits
feature-惠厦
...
feature-Ga
| Author | SHA1 | Date | |
|---|---|---|---|
| 313a02cdfc | |||
| 43b498de04 | |||
| 547de1727d | |||
| 9bb3c0dd85 |
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>com.cpic.xim</groupId>
|
<groupId>com.cpic.xim</groupId>
|
||||||
<artifactId>cpicxim-XMNHSA-repeater</artifactId>
|
<artifactId>cpicxim-XMNHSA-repeater</artifactId>
|
||||||
<version>v20250314</version>
|
<version>v20250526</version>
|
||||||
|
|
||||||
<name>cpicxim-XMNHSA-repeater</name>
|
<name>cpicxim-XMNHSA-repeater</name>
|
||||||
<!-- FIXME change it to the project's website -->
|
<!-- FIXME change it to the project's website -->
|
||||||
|
|||||||
@@ -56,8 +56,8 @@ public class HuixiabaoConfig
|
|||||||
private static final int MAX_COUNT_PER_REQUEST = 500;
|
private static final int MAX_COUNT_PER_REQUEST = 500;
|
||||||
private static final int SLEEP_SECONDS = 10;
|
private static final int SLEEP_SECONDS = 10;
|
||||||
|
|
||||||
//private static final String url = "http://172.18.1.150:9040/h3c/new/api/gafe/rest";
|
private static final String url = "http://172.18.1.150:9040/h3c/new/api/gafe/rest";
|
||||||
private static final String url = "http://172.16.39.44:9040/h3c/new/api/gafe/rest";
|
// private static final String url = "http://172.16.39.44:9040/h3c/new/api/gafe/rest";
|
||||||
private static final String appid = "hxb-tb";
|
private static final String appid = "hxb-tb";
|
||||||
private static final String appSecret = "60F468FB46170DD4CF6CBECE215DBFC0";
|
private static final String appSecret = "60F468FB46170DD4CF6CBECE215DBFC0";
|
||||||
private static final String funId = "XY00.00.00.03";
|
private static final String funId = "XY00.00.00.03";
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<Configuration status="WARN" monitorInterval="300">
|
<Configuration status="WARN" monitorInterval="300">
|
||||||
<Appenders>
|
<Appenders>
|
||||||
<Console name="Console" target="SYSTEM_OUT">
|
<Console name="Console" target="SYSTEM_OUT">
|
||||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} ### %msg%n" />
|
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} ### %msg%n" />
|
||||||
<ThresholdFilter level="trace" onMatch="ACCEPT" onMismatch="DENY" />
|
<ThresholdFilter level="trace" onMatch="ACCEPT" onMismatch="DENY" />
|
||||||
</Console>
|
</Console>
|
||||||
<RollingFile name="rolling_file_win"
|
<RollingFile name="rolling_file_win"
|
||||||
filePattern="./logs/huixiabao/$${date:yyyy-MM}/huixiabao-%d{MM-dd-yyyy}-%i.log.gz">
|
filePattern="./logs/huixiabao/$${date:yyyy-MM}/huixiabao-%d{MM-dd-yyyy}-%i.log.gz">
|
||||||
<PatternLayout>
|
<PatternLayout>
|
||||||
<Pattern>[%t][%level][%d{HH:mm:ss.SSS}][%logger.%M{36}#%L] %msg%n</Pattern>
|
<Pattern>[%t][%level][%d{yyyy-MM-dd HH:mm:ss.SSS}][%logger.%M{36}#%L] %msg%n</Pattern>
|
||||||
</PatternLayout>
|
</PatternLayout>
|
||||||
<Policies>
|
<Policies>
|
||||||
<TimeBasedTriggeringPolicy interval="1" />
|
<TimeBasedTriggeringPolicy interval="1" />
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<RollingFile name="rolling_file_linux"
|
<RollingFile name="rolling_file_linux"
|
||||||
filePattern="/logs/huixiabao/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.gz">
|
filePattern="/logs/huixiabao/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.gz">
|
||||||
<PatternLayout>
|
<PatternLayout>
|
||||||
<Pattern>[%t][%level][%d{HH:mm:ss.SSS}][%logger.%M{36}#%L] %msg%n</Pattern>
|
<Pattern>[%t][%level][%d{yyyy-MM-dd HH:mm:ss.SSS}][%logger.%M{36}#%L] %msg%n</Pattern>
|
||||||
</PatternLayout>
|
</PatternLayout>
|
||||||
<Policies>
|
<Policies>
|
||||||
<TimeBasedTriggeringPolicy interval="1" />
|
<TimeBasedTriggeringPolicy interval="1" />
|
||||||
|
|||||||
@@ -1,12 +1,3 @@
|
|||||||
/*
|
|
||||||
* @Author: Kane
|
|
||||||
* @Date: 2025-03-16 00:35:09
|
|
||||||
* @LastEditors: Kane
|
|
||||||
* @FilePath: /cpicxim-huixiabao/.vscode/fileheader.template.js
|
|
||||||
* @Description:
|
|
||||||
*
|
|
||||||
* Copyright (c) ${2023} by Kane, All Rights Reserved.
|
|
||||||
*/
|
|
||||||
/**
|
/**
|
||||||
* This file is generated by VSCode extension: Fileheader Pro
|
* This file is generated by VSCode extension: Fileheader Pro
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>18</maven.compiler.source>
|
<maven.compiler.source>18</maven.compiler.source>
|
||||||
<maven.compiler.target>18</maven.compiler.target>
|
<maven.compiler.target>18</maven.compiler.target>
|
||||||
<spring.version>6.2.4</spring.version>
|
<spring.version>6.2.11</spring.version>
|
||||||
<log4j.version>2.24.3</log4j.version>
|
<log4j.version>2.24.3</log4j.version>
|
||||||
<jackson.version>2.18.3</jackson.version>
|
<jackson.version>2.18.3</jackson.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -12,34 +12,80 @@ package com.cpic.xim.data.config;
|
|||||||
|
|
||||||
public class AppConfig
|
public class AppConfig
|
||||||
{
|
{
|
||||||
public static String getDrivername()
|
public static String getDrivernamemysql()
|
||||||
{
|
{
|
||||||
return driverName;
|
return driverNameMySQL;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getUrlproduct()
|
public static String getUrlproductmysql()
|
||||||
{
|
{
|
||||||
return urlProduct;
|
return urlProductMySQL;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getUrltest()
|
public static String getUrltestmysql()
|
||||||
{
|
{
|
||||||
return urlTest;
|
return urlTestMySQL;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getUsername()
|
public static String getUsernamemysql()
|
||||||
{
|
{
|
||||||
return userName;
|
return userNameMySQL;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getPassword()
|
public static String getPasswordmysql()
|
||||||
{
|
{
|
||||||
return password;
|
return passwordMySQL;
|
||||||
}
|
}
|
||||||
|
|
||||||
private final static String driverName = "com.mysql.cj.jdbc.Driver";
|
public static String getDrivernamegaussdb()
|
||||||
private final static String urlProduct = "jdbc:mysql://10.39.0.85:3306/huixiabao?useUnicode=true&characterEncoding=utf8&useSSL=true";
|
{
|
||||||
private final static String urlTest = "jdbc:mysql://10.39.0.84:3306/huixiabao?useUnicode=true&characterEncoding=utf8&useSSL=true";
|
return driverNameGaussDB;
|
||||||
private final static String userName = "huixiabao";
|
}
|
||||||
private final static String password = "Kane@1981";
|
|
||||||
|
public static String getUrlgaussdbproduct()
|
||||||
|
{
|
||||||
|
return urlGaussDBProduct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String getUsernamegaussdbproduct()
|
||||||
|
{
|
||||||
|
return userNameGaussDBProduct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String getPasswordgaussdbproduct()
|
||||||
|
{
|
||||||
|
return passwordGaussDBProduct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String getUrlgaussdbtest()
|
||||||
|
{
|
||||||
|
return urlGaussDBTest;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String getUsernamegaussdbtest()
|
||||||
|
{
|
||||||
|
return userNameGaussDBTest;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String getPasswordgaussdbtest()
|
||||||
|
{
|
||||||
|
return passwordGaussDBTest;
|
||||||
|
}
|
||||||
|
|
||||||
|
private final static String driverNameMySQL = "com.mysql.cj.jdbc.Driver";
|
||||||
|
private final static String urlProductMySQL = "jdbc:mysql://10.39.0.85:3306/huixiabao?useUnicode=true&characterEncoding=utf8&useSSL=true";
|
||||||
|
private final static String urlTestMySQL = "jdbc:mysql://10.39.0.84:3306/huixiabao?useUnicode=true&characterEncoding=utf8&useSSL=true";
|
||||||
|
private final static String userNameMySQL = "huixiabao";
|
||||||
|
private final static String passwordMySQL = "Kane@1981";
|
||||||
|
|
||||||
|
// 高斯数据库
|
||||||
|
private final static String driverNameGaussDB = "org.postgresql.Driver";
|
||||||
|
|
||||||
|
private final static String urlGaussDBProduct = "jdbc:postgresql://30.191.0.36:25308/qing";
|
||||||
|
private final static String userNameGaussDBProduct = "xim_ywglxt_app";
|
||||||
|
private final static String passwordGaussDBProduct = "qYldSdbfQ!o5M4M";
|
||||||
|
|
||||||
|
private final static String urlGaussDBTest = "jdbc:postgresql://10.182.2.208:25308/qing";
|
||||||
|
private final static String userNameGaussDBTest = "cx_xiamen";
|
||||||
|
private final static String passwordGaussDBTest = "aThK80#!";
|
||||||
}
|
}
|
||||||
@@ -46,9 +46,9 @@ public class HuixiabaoDbUtils
|
|||||||
Class.forName( "com.mysql.cj.jdbc.Driver" );
|
Class.forName( "com.mysql.cj.jdbc.Driver" );
|
||||||
|
|
||||||
|
|
||||||
connection = DriverManager.getConnection( AppConfig.getUrltest(),
|
connection = DriverManager.getConnection( AppConfig.getUrltestmysql(),
|
||||||
AppConfig.getUsername(),
|
AppConfig.getUsernamemysql(),
|
||||||
AppConfig.getPassword() );
|
AppConfig.getPasswordmysql() );
|
||||||
statementDelete = connection.prepareStatement( sqlDelete.trim() );
|
statementDelete = connection.prepareStatement( sqlDelete.trim() );
|
||||||
statementInsert = connection.prepareStatement( sqlInsert.trim() );
|
statementInsert = connection.prepareStatement( sqlInsert.trim() );
|
||||||
|
|
||||||
|
|||||||
17
code/sql/理赔案件备份/InsuranceBill.sql
Normal file
17
code/sql/理赔案件备份/InsuranceBill.sql
Normal file
@@ -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 = '发票信息表'
|
||||||
18
code/sql/理赔案件备份/InsurancePrescription.sql
Normal file
18
code/sql/理赔案件备份/InsurancePrescription.sql
Normal file
@@ -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='案件处方表'
|
||||||
11
code/sql/理赔案件备份/InsuranceResult.sql
Normal file
11
code/sql/理赔案件备份/InsuranceResult.sql
Normal file
@@ -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 = '理算结果表'
|
||||||
BIN
惠厦保服务器 10.39.0.30.lnk
Normal file
BIN
惠厦保服务器 10.39.0.30.lnk
Normal file
Binary file not shown.
BIN
惠厦保服务器 10.39.46.43.lnk
Normal file
BIN
惠厦保服务器 10.39.46.43.lnk
Normal file
Binary file not shown.
BIN
文档/惠厦保数据备份接口/惠厦保数据推送接口文档(1).docx
Normal file
BIN
文档/惠厦保数据备份接口/惠厦保数据推送接口文档(1).docx
Normal file
Binary file not shown.
BIN
文档/惠厦保数据备份接口/惠厦保数据推送接口文档.docx
Normal file
BIN
文档/惠厦保数据备份接口/惠厦保数据推送接口文档.docx
Normal file
Binary file not shown.
BIN
沈育洪用 - 副本.lnk
Normal file
BIN
沈育洪用 - 副本.lnk
Normal file
Binary file not shown.
Reference in New Issue
Block a user