开发病案室退回加退回给电子病历
parent
ab924ba607
commit
836a0481d5
@ -0,0 +1,9 @@
|
||||
package com.emr.dao;
|
||||
|
||||
import com.emr.entity.DocusRequestInfo;
|
||||
|
||||
public interface DocusRequestInfoMapper {
|
||||
int insert(DocusRequestInfo record);
|
||||
|
||||
int insertSelective(DocusRequestInfo record);
|
||||
}
|
@ -0,0 +1,249 @@
|
||||
package com.emr.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class DocusRequestInfo implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private String code;
|
||||
|
||||
private String jzh;
|
||||
|
||||
private String masterId;
|
||||
|
||||
private String primaryKey;
|
||||
|
||||
private String paramPrimaryMsg;
|
||||
|
||||
private String paramInfo;
|
||||
|
||||
private Integer resultState;
|
||||
|
||||
private String resultMsg;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private String createUsername;
|
||||
|
||||
private String createName;
|
||||
|
||||
private String c1;
|
||||
|
||||
private String c2;
|
||||
|
||||
private String c3;
|
||||
|
||||
private Date t1;
|
||||
|
||||
private Date t2;
|
||||
|
||||
private Date t3;
|
||||
|
||||
private Integer i1;
|
||||
|
||||
private Integer i2;
|
||||
|
||||
private Integer i3;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code == null ? null : code.trim();
|
||||
}
|
||||
|
||||
public String getJzh() {
|
||||
return jzh;
|
||||
}
|
||||
|
||||
public void setJzh(String jzh) {
|
||||
this.jzh = jzh == null ? null : jzh.trim();
|
||||
}
|
||||
|
||||
public String getMasterId() {
|
||||
return masterId;
|
||||
}
|
||||
|
||||
public void setMasterId(String masterId) {
|
||||
this.masterId = masterId == null ? null : masterId.trim();
|
||||
}
|
||||
|
||||
public String getPrimaryKey() {
|
||||
return primaryKey;
|
||||
}
|
||||
|
||||
public void setPrimaryKey(String primaryKey) {
|
||||
this.primaryKey = primaryKey == null ? null : primaryKey.trim();
|
||||
}
|
||||
|
||||
public String getParamPrimaryMsg() {
|
||||
return paramPrimaryMsg;
|
||||
}
|
||||
|
||||
public void setParamPrimaryMsg(String paramPrimaryMsg) {
|
||||
this.paramPrimaryMsg = paramPrimaryMsg == null ? null : paramPrimaryMsg.trim();
|
||||
}
|
||||
|
||||
public String getParamInfo() {
|
||||
return paramInfo;
|
||||
}
|
||||
|
||||
public void setParamInfo(String paramInfo) {
|
||||
this.paramInfo = paramInfo == null ? null : paramInfo.trim();
|
||||
}
|
||||
|
||||
public Integer getResultState() {
|
||||
return resultState;
|
||||
}
|
||||
|
||||
public void setResultState(Integer resultState) {
|
||||
this.resultState = resultState;
|
||||
}
|
||||
|
||||
public String getResultMsg() {
|
||||
return resultMsg;
|
||||
}
|
||||
|
||||
public void setResultMsg(String resultMsg) {
|
||||
this.resultMsg = resultMsg == null ? null : resultMsg.trim();
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getCreateUsername() {
|
||||
return createUsername;
|
||||
}
|
||||
|
||||
public void setCreateUsername(String createUsername) {
|
||||
this.createUsername = createUsername == null ? null : createUsername.trim();
|
||||
}
|
||||
|
||||
public String getCreateName() {
|
||||
return createName;
|
||||
}
|
||||
|
||||
public void setCreateName(String createName) {
|
||||
this.createName = createName == null ? null : createName.trim();
|
||||
}
|
||||
|
||||
public String getC1() {
|
||||
return c1;
|
||||
}
|
||||
|
||||
public void setC1(String c1) {
|
||||
this.c1 = c1 == null ? null : c1.trim();
|
||||
}
|
||||
|
||||
public String getC2() {
|
||||
return c2;
|
||||
}
|
||||
|
||||
public void setC2(String c2) {
|
||||
this.c2 = c2 == null ? null : c2.trim();
|
||||
}
|
||||
|
||||
public String getC3() {
|
||||
return c3;
|
||||
}
|
||||
|
||||
public void setC3(String c3) {
|
||||
this.c3 = c3 == null ? null : c3.trim();
|
||||
}
|
||||
|
||||
public Date getT1() {
|
||||
return t1;
|
||||
}
|
||||
|
||||
public void setT1(Date t1) {
|
||||
this.t1 = t1;
|
||||
}
|
||||
|
||||
public Date getT2() {
|
||||
return t2;
|
||||
}
|
||||
|
||||
public void setT2(Date t2) {
|
||||
this.t2 = t2;
|
||||
}
|
||||
|
||||
public Date getT3() {
|
||||
return t3;
|
||||
}
|
||||
|
||||
public void setT3(Date t3) {
|
||||
this.t3 = t3;
|
||||
}
|
||||
|
||||
public Integer getI1() {
|
||||
return i1;
|
||||
}
|
||||
|
||||
public void setI1(Integer i1) {
|
||||
this.i1 = i1;
|
||||
}
|
||||
|
||||
public Integer getI2() {
|
||||
return i2;
|
||||
}
|
||||
|
||||
public void setI2(Integer i2) {
|
||||
this.i2 = i2;
|
||||
}
|
||||
|
||||
public Integer getI3() {
|
||||
return i3;
|
||||
}
|
||||
|
||||
public void setI3(Integer i3) {
|
||||
this.i3 = i3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", code=").append(code);
|
||||
sb.append(", jzh=").append(jzh);
|
||||
sb.append(", masterId=").append(masterId);
|
||||
sb.append(", primaryKey=").append(primaryKey);
|
||||
sb.append(", paramPrimaryMsg=").append(paramPrimaryMsg);
|
||||
sb.append(", paramInfo=").append(paramInfo);
|
||||
sb.append(", resultState=").append(resultState);
|
||||
sb.append(", resultMsg=").append(resultMsg);
|
||||
sb.append(", createTime=").append(createTime);
|
||||
sb.append(", createUsername=").append(createUsername);
|
||||
sb.append(", createName=").append(createName);
|
||||
sb.append(", c1=").append(c1);
|
||||
sb.append(", c2=").append(c2);
|
||||
sb.append(", c3=").append(c3);
|
||||
sb.append(", t1=").append(t1);
|
||||
sb.append(", t2=").append(t2);
|
||||
sb.append(", t3=").append(t3);
|
||||
sb.append(", i1=").append(i1);
|
||||
sb.append(", i2=").append(i2);
|
||||
sb.append(", i3=").append(i3);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -1,2 +1,6 @@
|
||||
#留观推送第三方接口地址
|
||||
observationRecordRequestUrl = http://10.162.0.51:8091/sanshuyun-ems-function/file/away/updateStatus
|
||||
#模块打回第三方接口地址
|
||||
returnUrl = http://10.6.1.152:8085/SignWebService.asmx/PartrePair
|
||||
#模块打回第三方接口参数
|
||||
returnParam = strJson
|
@ -0,0 +1,176 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.emr.dao.DocusRequestInfoMapper" >
|
||||
<resultMap id="BaseResultMap" type="com.emr.entity.DocusRequestInfo" >
|
||||
<result column="id" property="id" jdbcType="BIGINT" />
|
||||
<result column="code" property="code" jdbcType="NVARCHAR" />
|
||||
<result column="jzh" property="jzh" jdbcType="NVARCHAR" />
|
||||
<result column="master_id" property="masterId" jdbcType="NVARCHAR" />
|
||||
<result column="primary_key" property="primaryKey" jdbcType="NVARCHAR" />
|
||||
<result column="param_primary_msg" property="paramPrimaryMsg" jdbcType="NVARCHAR" />
|
||||
<result column="param_info" property="paramInfo" jdbcType="NVARCHAR" />
|
||||
<result column="result_state" property="resultState" jdbcType="INTEGER" />
|
||||
<result column="result_msg" property="resultMsg" jdbcType="NVARCHAR" />
|
||||
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
|
||||
<result column="create_username" property="createUsername" jdbcType="NVARCHAR" />
|
||||
<result column="create_name" property="createName" jdbcType="NVARCHAR" />
|
||||
<result column="c1" property="c1" jdbcType="NVARCHAR" />
|
||||
<result column="c2" property="c2" jdbcType="NVARCHAR" />
|
||||
<result column="c3" property="c3" jdbcType="NVARCHAR" />
|
||||
<result column="t1" property="t1" jdbcType="TIMESTAMP" />
|
||||
<result column="t2" property="t2" jdbcType="TIMESTAMP" />
|
||||
<result column="t3" property="t3" jdbcType="TIMESTAMP" />
|
||||
<result column="i1" property="i1" jdbcType="INTEGER" />
|
||||
<result column="i2" property="i2" jdbcType="INTEGER" />
|
||||
<result column="i3" property="i3" jdbcType="INTEGER" />
|
||||
</resultMap>
|
||||
<insert id="insert" parameterType="com.emr.entity.DocusRequestInfo" >
|
||||
insert into docus_request_info (id, code, jzh,
|
||||
master_id, primary_key, param_primary_msg,
|
||||
param_info, result_state, result_msg,
|
||||
create_time, create_username, create_name,
|
||||
c1, c2, c3, t1,
|
||||
t2, t3, i1, i2,
|
||||
i3)
|
||||
values (#{id,jdbcType=BIGINT}, #{code,jdbcType=NVARCHAR}, #{jzh,jdbcType=NVARCHAR},
|
||||
#{masterId,jdbcType=NVARCHAR}, #{primaryKey,jdbcType=NVARCHAR}, #{paramPrimaryMsg,jdbcType=NVARCHAR},
|
||||
#{paramInfo,jdbcType=NVARCHAR}, #{resultState,jdbcType=INTEGER}, #{resultMsg,jdbcType=NVARCHAR},
|
||||
#{createTime,jdbcType=TIMESTAMP}, #{createUsername,jdbcType=NVARCHAR}, #{createName,jdbcType=NVARCHAR},
|
||||
#{c1,jdbcType=NVARCHAR}, #{c2,jdbcType=NVARCHAR}, #{c3,jdbcType=NVARCHAR}, #{t1,jdbcType=TIMESTAMP},
|
||||
#{t2,jdbcType=TIMESTAMP}, #{t3,jdbcType=TIMESTAMP}, #{i1,jdbcType=INTEGER}, #{i2,jdbcType=INTEGER},
|
||||
#{i3,jdbcType=INTEGER})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.emr.entity.DocusRequestInfo" >
|
||||
insert into docus_request_info
|
||||
<trim prefix="(" suffix=")" suffixOverrides="," >
|
||||
<if test="id != null" >
|
||||
id,
|
||||
</if>
|
||||
<if test="code != null" >
|
||||
code,
|
||||
</if>
|
||||
<if test="jzh != null" >
|
||||
jzh,
|
||||
</if>
|
||||
<if test="masterId != null" >
|
||||
master_id,
|
||||
</if>
|
||||
<if test="primaryKey != null" >
|
||||
primary_key,
|
||||
</if>
|
||||
<if test="paramPrimaryMsg != null" >
|
||||
param_primary_msg,
|
||||
</if>
|
||||
<if test="paramInfo != null" >
|
||||
param_info,
|
||||
</if>
|
||||
<if test="resultState != null" >
|
||||
result_state,
|
||||
</if>
|
||||
<if test="resultMsg != null" >
|
||||
result_msg,
|
||||
</if>
|
||||
<if test="createTime != null" >
|
||||
create_time,
|
||||
</if>
|
||||
<if test="createUsername != null" >
|
||||
create_username,
|
||||
</if>
|
||||
<if test="createName != null" >
|
||||
create_name,
|
||||
</if>
|
||||
<if test="c1 != null" >
|
||||
c1,
|
||||
</if>
|
||||
<if test="c2 != null" >
|
||||
c2,
|
||||
</if>
|
||||
<if test="c3 != null" >
|
||||
c3,
|
||||
</if>
|
||||
<if test="t1 != null" >
|
||||
t1,
|
||||
</if>
|
||||
<if test="t2 != null" >
|
||||
t2,
|
||||
</if>
|
||||
<if test="t3 != null" >
|
||||
t3,
|
||||
</if>
|
||||
<if test="i1 != null" >
|
||||
i1,
|
||||
</if>
|
||||
<if test="i2 != null" >
|
||||
i2,
|
||||
</if>
|
||||
<if test="i3 != null" >
|
||||
i3,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
||||
<if test="id != null" >
|
||||
#{id,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="code != null" >
|
||||
#{code,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="jzh != null" >
|
||||
#{jzh,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="masterId != null" >
|
||||
#{masterId,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="primaryKey != null" >
|
||||
#{primaryKey,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="paramPrimaryMsg != null" >
|
||||
#{paramPrimaryMsg,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="paramInfo != null" >
|
||||
#{paramInfo,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="resultState != null" >
|
||||
#{resultState,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="resultMsg != null" >
|
||||
#{resultMsg,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="createTime != null" >
|
||||
#{createTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="createUsername != null" >
|
||||
#{createUsername,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="createName != null" >
|
||||
#{createName,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="c1 != null" >
|
||||
#{c1,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="c2 != null" >
|
||||
#{c2,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="c3 != null" >
|
||||
#{c3,jdbcType=NVARCHAR},
|
||||
</if>
|
||||
<if test="t1 != null" >
|
||||
#{t1,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="t2 != null" >
|
||||
#{t2,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="t3 != null" >
|
||||
#{t3,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="i1 != null" >
|
||||
#{i1,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="i2 != null" >
|
||||
#{i2,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="i3 != null" >
|
||||
#{i3,jdbcType=INTEGER},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
</mapper>
|
Loading…
Reference in New Issue