医保及配置更新
This commit is contained in:
22
src/main/java/com/dpkj/common/config/ChsConfig.java
Normal file
22
src/main/java/com/dpkj/common/config/ChsConfig.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package com.dpkj.common.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Auther: 萧道子
|
||||
* @Date: 2024/4/28 14:55
|
||||
* @Description:
|
||||
*/
|
||||
@Data
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "dpkj.chs")
|
||||
public class ChsConfig {
|
||||
|
||||
/**
|
||||
* 医保机构编码
|
||||
*/
|
||||
private String orgcode;
|
||||
|
||||
}
|
||||
22
src/main/java/com/dpkj/common/config/HisConfig.java
Normal file
22
src/main/java/com/dpkj/common/config/HisConfig.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package com.dpkj.common.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Auther: 萧道子
|
||||
* @Date: 2024/4/28 14:55
|
||||
* @Description:
|
||||
*/
|
||||
@Data
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "dpkj.his")
|
||||
public class HisConfig {
|
||||
|
||||
/**
|
||||
* 调用者ID
|
||||
*/
|
||||
private String operationId;
|
||||
|
||||
}
|
||||
45
src/main/java/com/dpkj/common/vo/ResultData.java
Normal file
45
src/main/java/com/dpkj/common/vo/ResultData.java
Normal file
@@ -0,0 +1,45 @@
|
||||
package com.dpkj.common.vo;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 接口返回数据格式
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ResultData implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 请求时间
|
||||
*/
|
||||
private String requestTime;
|
||||
|
||||
/**
|
||||
* 请求内容
|
||||
*/
|
||||
private String requestContent;
|
||||
|
||||
/**
|
||||
* 响应时间
|
||||
*/
|
||||
private String responseTime;
|
||||
|
||||
/**
|
||||
* 响应内容
|
||||
*/
|
||||
private String responseContent;
|
||||
|
||||
/**
|
||||
* 患者ID
|
||||
*/
|
||||
private String patientId;
|
||||
|
||||
/**
|
||||
* 处理后的响应内容
|
||||
*/
|
||||
private Object result;
|
||||
}
|
||||
Reference in New Issue
Block a user