Compare commits
10 Commits
dfc4b9d40d
...
5688ed94c1
| Author | SHA1 | Date |
|---|---|---|
|
|
5688ed94c1 | 2 weeks ago |
|
|
0fa920246e | 3 weeks ago |
|
|
e301b24201 | 3 weeks ago |
|
|
88185ebdba | 3 weeks ago |
|
|
d9d75739cf | 2 months ago |
|
|
020759fff6 | 2 months ago |
|
|
293bca5013 | 2 months ago |
|
|
b5e402063a | 2 months ago |
|
|
ee81393941 | 2 months ago |
|
|
3fe5a53361 | 2 months ago |
31 changed files with 9311 additions and 36 deletions
@ -0,0 +1,376 @@ |
|||
package com.ccsens.system.domain.dto; |
|||
|
|||
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; |
|||
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; |
|||
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zzc |
|||
* @Package com.ccsens.system.domain.dto |
|||
* @Date 2026/5/15 9:25 |
|||
* @description: |
|||
*/ |
|||
@Data |
|||
@JacksonXmlRootElement(localName = "Request") |
|||
public class DataApplicationDto implements Serializable { |
|||
|
|||
@ApiModelProperty("消息头信息") |
|||
@JacksonXmlProperty(localName = "Header") |
|||
private Header header; |
|||
|
|||
@ApiModelProperty("消息体信息") |
|||
@JacksonXmlProperty(localName = "Body") |
|||
private Body body; |
|||
|
|||
@Data |
|||
public static class Header { |
|||
@ApiModelProperty("消息来源") |
|||
@JacksonXmlProperty(localName = "SourceSystem") |
|||
private String sourceSystem; |
|||
|
|||
@ApiModelProperty("消息ID") |
|||
@JacksonXmlProperty(localName = "MessageID") |
|||
private String messageID; |
|||
} |
|||
|
|||
@Data |
|||
public static class Body { |
|||
@ApiModelProperty("患者信息集合") |
|||
@JacksonXmlProperty(localName = "PATPatientInfo") |
|||
private PatPatientInfo patPatientInfo; |
|||
|
|||
@ApiModelProperty("患者就诊信息集合") |
|||
@JacksonXmlProperty(localName = "PATAdmInfo") |
|||
private PatAdmInfo patAdmInfo; |
|||
|
|||
@ApiModelProperty("检查申请单信息集合") |
|||
@JacksonXmlProperty(localName = "AddRisAppBillRt") |
|||
private AddRisAppBillRt addRisAppBillRt; |
|||
|
|||
@ApiModelProperty("最后更新人代码") |
|||
@JacksonXmlProperty(localName = "UpdateUserCode") |
|||
private String updateUserCode; |
|||
|
|||
@ApiModelProperty("最后更新人") |
|||
@JacksonXmlProperty(localName = "UpdateUserDesc") |
|||
private String updateUserDesc; |
|||
|
|||
@ApiModelProperty("更新日期") |
|||
@JacksonXmlProperty(localName = "UpdateDate") |
|||
private String updateDate; |
|||
|
|||
@ApiModelProperty("更新时间") |
|||
@JacksonXmlProperty(localName = "UpdateTime") |
|||
private String updateTime; |
|||
} |
|||
|
|||
|
|||
@Data |
|||
public static class PatPatientInfo { |
|||
@ApiModelProperty("院区代码") |
|||
@JacksonXmlProperty(localName = "HospitalCode") |
|||
private String hospitalCode; |
|||
|
|||
@ApiModelProperty("患者主索引") |
|||
@JacksonXmlProperty(localName = "PATPatientID") |
|||
private String patPatientID; |
|||
|
|||
@ApiModelProperty("病案号") |
|||
@JacksonXmlProperty(localName = "PATDocumentNo") |
|||
private String patDocumentNo; |
|||
|
|||
@ApiModelProperty("健康卡号") |
|||
@JacksonXmlProperty(localName = "PATHealthCardID") |
|||
private String patHealthCardID; |
|||
|
|||
@ApiModelProperty("患者姓名") |
|||
@JacksonXmlProperty(localName = "PATName") |
|||
private String patName; |
|||
|
|||
@ApiModelProperty("患者出生日期") |
|||
@JacksonXmlProperty(localName = "PATDob") |
|||
private String patDob; |
|||
|
|||
@ApiModelProperty("患者性别代码") |
|||
@JacksonXmlProperty(localName = "PATSexCode") |
|||
private String patSexCode; |
|||
|
|||
@ApiModelProperty("患者性别描述") |
|||
@JacksonXmlProperty(localName = "PATSexDesc") |
|||
private String patSexDesc; |
|||
|
|||
@ApiModelProperty("患者婚姻状况代码") |
|||
@JacksonXmlProperty(localName = "PATMaritalStatusCode") |
|||
private String patMaritalStatusCode; |
|||
|
|||
@ApiModelProperty("患者婚姻状况描述") |
|||
@JacksonXmlProperty(localName = "PATMaritalStatusDesc") |
|||
private String patMaritalStatusDesc; |
|||
|
|||
@ApiModelProperty("患者民族代码") |
|||
@JacksonXmlProperty(localName = "PATNationCode") |
|||
private String patNationCode; |
|||
|
|||
@ApiModelProperty("患者民族描述") |
|||
@JacksonXmlProperty(localName = "PATNationDesc") |
|||
private String patNationDesc; |
|||
|
|||
@ApiModelProperty("患者国籍代码") |
|||
@JacksonXmlProperty(localName = "PATCountryCode") |
|||
private String patCountryCode; |
|||
|
|||
@ApiModelProperty("患者国籍描述") |
|||
@JacksonXmlProperty(localName = "PATCountryDesc") |
|||
private String patCountryDesc; |
|||
|
|||
@ApiModelProperty("患者母亲ID") |
|||
@JacksonXmlProperty(localName = "PATMotherID") |
|||
private String patMotherID; |
|||
|
|||
@ApiModelProperty("死亡日期") |
|||
@JacksonXmlProperty(localName = "PATDeceasedDate") |
|||
private String patDeceasedDate; |
|||
|
|||
@ApiModelProperty("死亡时间") |
|||
@JacksonXmlProperty(localName = "PATDeceasedTime") |
|||
private String patDeceasedTime; |
|||
|
|||
@ApiModelProperty("患者联系电话") |
|||
@JacksonXmlProperty(localName = "PATTelephone") |
|||
private String patTelephone; |
|||
|
|||
@ApiModelProperty("患者职业代码") |
|||
@JacksonXmlProperty(localName = "PATOccupationCode") |
|||
private String patOccupationCode; |
|||
|
|||
@ApiModelProperty("患者职业描述") |
|||
@JacksonXmlProperty(localName = "PATOccupationDesc") |
|||
private String patOccupationDesc; |
|||
|
|||
@ApiModelProperty("患者工作单位电话号码") |
|||
@JacksonXmlProperty(localName = "PATWorkPlaceTelNum") |
|||
private String patWorkPlaceTelNum; |
|||
|
|||
@ApiModelProperty("患者证件号码") |
|||
@JacksonXmlProperty(localName = "PATIdentityNum") |
|||
private String patIdentityNum; |
|||
|
|||
@ApiModelProperty("患者证件类别代码") |
|||
@JacksonXmlProperty(localName = "PATIdTypeCode") |
|||
private String patIdTypeCode; |
|||
|
|||
@ApiModelProperty("患者证件类别描述") |
|||
@JacksonXmlProperty(localName = "PATIdTypeDesc") |
|||
private String patIdTypeDesc; |
|||
|
|||
@ApiModelProperty("患者联系人姓名") |
|||
@JacksonXmlProperty(localName = "PATRelationName") |
|||
private String patRelationName; |
|||
|
|||
@ApiModelProperty("患者联系人电话") |
|||
@JacksonXmlProperty(localName = "PATRelationPhone") |
|||
private String patRelationPhone; |
|||
|
|||
@ApiModelProperty("备注") |
|||
@JacksonXmlProperty(localName = "PATRemarks") |
|||
private String patRemarks; |
|||
} |
|||
|
|||
@Data |
|||
public static class PatAdmInfo { |
|||
@ApiModelProperty("就诊号码") |
|||
@JacksonXmlProperty(localName = "PAADMVisitNumber") |
|||
private String paadmVisitNumber; |
|||
|
|||
@ApiModelProperty("住院次数") |
|||
@JacksonXmlProperty(localName = "PAADMVisitTimes") |
|||
private String paadmVisitTimes; |
|||
|
|||
@ApiModelProperty("就诊科室代码") |
|||
@JacksonXmlProperty(localName = "PAADMDeptCode") |
|||
private String paadmDeptCode; |
|||
|
|||
@ApiModelProperty("就诊科室名称") |
|||
@JacksonXmlProperty(localName = "PAADMDeptDesc") |
|||
private String paadmDeptDesc; |
|||
|
|||
@ApiModelProperty("就诊病区代码") |
|||
@JacksonXmlProperty(localName = "PAADMAdmWardCode") |
|||
private String paadmAdmWardCode; |
|||
|
|||
@ApiModelProperty("就诊病区描述") |
|||
@JacksonXmlProperty(localName = "PAADMAdmWardDesc") |
|||
private String paadmAdmWardDesc; |
|||
|
|||
@ApiModelProperty("病床号") |
|||
@JacksonXmlProperty(localName = "PAADMCurBedNo") |
|||
private String paadmCurBedNo; |
|||
|
|||
@ApiModelProperty("就诊医生代码") |
|||
@JacksonXmlProperty(localName = "PAADMDocCode") |
|||
private String paadmDocCode; |
|||
|
|||
@ApiModelProperty("就诊医生名称") |
|||
@JacksonXmlProperty(localName = "PAADMDocDesc") |
|||
private String paadmDocDesc; |
|||
|
|||
@ApiModelProperty("就诊日期") |
|||
@JacksonXmlProperty(localName = "PAADMStartDate") |
|||
private String paadmStartDate; |
|||
|
|||
@ApiModelProperty("就诊时间") |
|||
@JacksonXmlProperty(localName = "PAADMStartTime") |
|||
private String paadmStartTime; |
|||
|
|||
@ApiModelProperty("当前科室代码") |
|||
@JacksonXmlProperty(localName = "PAADMCurDeptCode") |
|||
private String paadmCurDeptCode; |
|||
|
|||
@ApiModelProperty("当前科室描述") |
|||
@JacksonXmlProperty(localName = "PAADMCurDeptDesc") |
|||
private String paadmCurDeptDesc; |
|||
|
|||
@ApiModelProperty("就诊状态代码") |
|||
@JacksonXmlProperty(localName = "PAAdmStatusCode") |
|||
private String paAdmStatusCode; |
|||
|
|||
@ApiModelProperty("就诊状态描述") |
|||
@JacksonXmlProperty(localName = "PAAdmStatusDesc") |
|||
private String paAdmStatusDesc; |
|||
|
|||
@ApiModelProperty("就诊类型代码") |
|||
@JacksonXmlProperty(localName = "PAADMTypeCode") |
|||
private String paadmTypeCode; |
|||
|
|||
@ApiModelProperty("就诊类型描述") |
|||
@JacksonXmlProperty(localName = "PAADMTypeDesc") |
|||
private String paadmTypeDesc; |
|||
|
|||
@ApiModelProperty("患者费用类型代码") |
|||
@JacksonXmlProperty(localName = "PAADMFeeTypeCode") |
|||
private String paadmFeeTypeCode; |
|||
|
|||
@ApiModelProperty("患者费用类型描述") |
|||
@JacksonXmlProperty(localName = "PAADMFeeTypeDesc") |
|||
private String paadmFeeTypeDesc; |
|||
} |
|||
|
|||
@Data |
|||
public static class AddRisAppBillRt { |
|||
@JacksonXmlProperty(localName = "OrderList") |
|||
@JacksonXmlElementWrapper(useWrapping = false) |
|||
private List<OrderList> orderList; |
|||
|
|||
@Data |
|||
public static class OrderList { |
|||
@ApiModelProperty("检查号") |
|||
@JacksonXmlProperty(localName = "RISRExamID") |
|||
private String risrExamID; |
|||
|
|||
@ApiModelProperty("检查申请单号") |
|||
@JacksonXmlProperty(localName = "RISRAppNum") |
|||
private String risrAppNum; |
|||
|
|||
@ApiModelProperty("检查注意事项") |
|||
@JacksonXmlProperty(localName = "RISRMattersAttention") |
|||
private String risrMattersAttention; |
|||
|
|||
@ApiModelProperty("检查特殊病史编码") |
|||
@JacksonXmlProperty(localName = "RISRSpecalMedicalRecord") |
|||
private String risrSpecalMedicalRecord; |
|||
|
|||
@ApiModelProperty("检查申请科室代码") |
|||
@JacksonXmlProperty(localName = "AppDeptCode") |
|||
private String appDeptCode; |
|||
|
|||
@ApiModelProperty("检查申请科室") |
|||
@JacksonXmlProperty(localName = "AppDeptDesc") |
|||
private String appDeptDesc; |
|||
|
|||
@ApiModelProperty("检查申请医生代码") |
|||
@JacksonXmlProperty(localName = "RISRSubmitDocCode") |
|||
private String risrSubmitDocCode; |
|||
|
|||
@ApiModelProperty("检查申请医生描述") |
|||
@JacksonXmlProperty(localName = "RISRSubmitDocDesc") |
|||
private String risrSubmitDocDesc; |
|||
|
|||
@ApiModelProperty("检查申请时间") |
|||
@JacksonXmlProperty(localName = "RISRSubmitTime") |
|||
private String risrSubmitTime; |
|||
|
|||
@ApiModelProperty("接收科室代码") |
|||
@JacksonXmlProperty(localName = "RISRAcceptDeptCode") |
|||
private String risrAcceptDeptCode; |
|||
|
|||
@ApiModelProperty("接收科室") |
|||
@JacksonXmlProperty(localName = "RISRAcceptDeptDesc") |
|||
private String risrAcceptDeptDesc; |
|||
|
|||
@ApiModelProperty("检查科室位置") |
|||
@JacksonXmlProperty(localName = "RISRDeptLocation") |
|||
private String risrDeptLocation; |
|||
|
|||
@ApiModelProperty("检查是否加急 1/0") |
|||
@JacksonXmlProperty(localName = "RISRISEmergency") |
|||
private Byte risrIsEmergency; |
|||
|
|||
@ApiModelProperty("检查临床所见") |
|||
@JacksonXmlProperty(localName = "RISRClinicalSymptoms") |
|||
private String risrClinicalSymptoms; |
|||
|
|||
@ApiModelProperty("医嘱明细ID(接口交互唯一主键)") |
|||
@JacksonXmlProperty(localName = "OEORIOrderItemID") |
|||
private String oeoriOrderItemID; |
|||
|
|||
@ApiModelProperty("医嘱部位代码") |
|||
@JacksonXmlProperty(localName = "RISRPositionCode") |
|||
private String risrPositionCode; |
|||
|
|||
@ApiModelProperty("医嘱体位代码") |
|||
@JacksonXmlProperty(localName = "RISRPostureCode") |
|||
private String risrPostureCode; |
|||
|
|||
@ApiModelProperty("医嘱项目代码") |
|||
@JacksonXmlProperty(localName = "RISRCode") |
|||
private String risrCode; |
|||
|
|||
@ApiModelProperty("医嘱项目名称") |
|||
@JacksonXmlProperty(localName = "RISRDesc") |
|||
private String risrDesc; |
|||
|
|||
@ApiModelProperty("医嘱价格") |
|||
@JacksonXmlProperty(localName = "RISRPrice") |
|||
private String risrPrice; |
|||
|
|||
@ApiModelProperty("医嘱子类代码") |
|||
@JacksonXmlProperty(localName = "OrdSubCatCode") |
|||
private String ordSubCatCode; |
|||
|
|||
@ApiModelProperty("医嘱子类描述") |
|||
@JacksonXmlProperty(localName = "OrdSubCatDesc") |
|||
private String ordSubCatDesc; |
|||
|
|||
@ApiModelProperty("医嘱大类代码") |
|||
@JacksonXmlProperty(localName = "OrdCatCode") |
|||
private String ordCatCode; |
|||
|
|||
@ApiModelProperty("医嘱大类描述") |
|||
@JacksonXmlProperty(localName = "OrdCatDesc") |
|||
private String ordCatDesc; |
|||
|
|||
@ApiModelProperty("收费状态") |
|||
@JacksonXmlProperty(localName = "OrdBillStatus") |
|||
private String ordBillStatus; |
|||
|
|||
@ApiModelProperty("发送标志") |
|||
@JacksonXmlProperty(localName = "SendFlag") |
|||
private String sendFlag; |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,612 @@ |
|||
package com.ccsens.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class DmsApplication implements Serializable { |
|||
private Long id; |
|||
|
|||
private String sourceSystem; |
|||
|
|||
private String messageId; |
|||
|
|||
private String hospitalCode; |
|||
|
|||
private String patPatientId; |
|||
|
|||
private String patDocumentNo; |
|||
|
|||
private String patHealthCardId; |
|||
|
|||
private String patName; |
|||
|
|||
private Date patDob; |
|||
|
|||
private String patSexCode; |
|||
|
|||
private String patSexDesc; |
|||
|
|||
private String patMaritalStatusCode; |
|||
|
|||
private String patMaritalStatusDesc; |
|||
|
|||
private String patNationCode; |
|||
|
|||
private String patNationDesc; |
|||
|
|||
private String patCountryCode; |
|||
|
|||
private String patCountryDesc; |
|||
|
|||
private String patMotherId; |
|||
|
|||
private Date patDeceasedDate; |
|||
|
|||
private Date patDeceasedTime; |
|||
|
|||
private String patTelephone; |
|||
|
|||
private String patOccupationCode; |
|||
|
|||
private String patOccupationDesc; |
|||
|
|||
private String patWorkPlaceTelNum; |
|||
|
|||
private String patIdentityNum; |
|||
|
|||
private String patIdTypeCode; |
|||
|
|||
private String patIdTypeDesc; |
|||
|
|||
private String patRelationName; |
|||
|
|||
private String patRelationPhone; |
|||
|
|||
private String patRemarks; |
|||
|
|||
private String paadmVisitNumber; |
|||
|
|||
private Integer paadmVisitTimes; |
|||
|
|||
private String paadmDeptCode; |
|||
|
|||
private String paadmDeptDesc; |
|||
|
|||
private String paadmAdmWardCode; |
|||
|
|||
private String paadmAdmWardDesc; |
|||
|
|||
private String paadmCurBedNo; |
|||
|
|||
private String paadmDocCode; |
|||
|
|||
private String paadmDocDesc; |
|||
|
|||
private Date paadmStartDate; |
|||
|
|||
private Date paadmStartTime; |
|||
|
|||
private String paadmCurDeptCode; |
|||
|
|||
private String paadmCurDeptDesc; |
|||
|
|||
private String paAdmStatusCode; |
|||
|
|||
private String paAdmStatusDesc; |
|||
|
|||
private String paadmTypeCode; |
|||
|
|||
private String paadmTypeDesc; |
|||
|
|||
private String paadmFeeTypeCode; |
|||
|
|||
private String paadmFeeTypeDesc; |
|||
|
|||
private String updateUserCode; |
|||
|
|||
private String updateUserDesc; |
|||
|
|||
private Date updateDate; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private Date createTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getSourceSystem() { |
|||
return sourceSystem; |
|||
} |
|||
|
|||
public void setSourceSystem(String sourceSystem) { |
|||
this.sourceSystem = sourceSystem == null ? null : sourceSystem.trim(); |
|||
} |
|||
|
|||
public String getMessageId() { |
|||
return messageId; |
|||
} |
|||
|
|||
public void setMessageId(String messageId) { |
|||
this.messageId = messageId == null ? null : messageId.trim(); |
|||
} |
|||
|
|||
public String getHospitalCode() { |
|||
return hospitalCode; |
|||
} |
|||
|
|||
public void setHospitalCode(String hospitalCode) { |
|||
this.hospitalCode = hospitalCode == null ? null : hospitalCode.trim(); |
|||
} |
|||
|
|||
public String getPatPatientId() { |
|||
return patPatientId; |
|||
} |
|||
|
|||
public void setPatPatientId(String patPatientId) { |
|||
this.patPatientId = patPatientId == null ? null : patPatientId.trim(); |
|||
} |
|||
|
|||
public String getPatDocumentNo() { |
|||
return patDocumentNo; |
|||
} |
|||
|
|||
public void setPatDocumentNo(String patDocumentNo) { |
|||
this.patDocumentNo = patDocumentNo == null ? null : patDocumentNo.trim(); |
|||
} |
|||
|
|||
public String getPatHealthCardId() { |
|||
return patHealthCardId; |
|||
} |
|||
|
|||
public void setPatHealthCardId(String patHealthCardId) { |
|||
this.patHealthCardId = patHealthCardId == null ? null : patHealthCardId.trim(); |
|||
} |
|||
|
|||
public String getPatName() { |
|||
return patName; |
|||
} |
|||
|
|||
public void setPatName(String patName) { |
|||
this.patName = patName == null ? null : patName.trim(); |
|||
} |
|||
|
|||
public Date getPatDob() { |
|||
return patDob; |
|||
} |
|||
|
|||
public void setPatDob(Date patDob) { |
|||
this.patDob = patDob; |
|||
} |
|||
|
|||
public String getPatSexCode() { |
|||
return patSexCode; |
|||
} |
|||
|
|||
public void setPatSexCode(String patSexCode) { |
|||
this.patSexCode = patSexCode == null ? null : patSexCode.trim(); |
|||
} |
|||
|
|||
public String getPatSexDesc() { |
|||
return patSexDesc; |
|||
} |
|||
|
|||
public void setPatSexDesc(String patSexDesc) { |
|||
this.patSexDesc = patSexDesc == null ? null : patSexDesc.trim(); |
|||
} |
|||
|
|||
public String getPatMaritalStatusCode() { |
|||
return patMaritalStatusCode; |
|||
} |
|||
|
|||
public void setPatMaritalStatusCode(String patMaritalStatusCode) { |
|||
this.patMaritalStatusCode = patMaritalStatusCode == null ? null : patMaritalStatusCode.trim(); |
|||
} |
|||
|
|||
public String getPatMaritalStatusDesc() { |
|||
return patMaritalStatusDesc; |
|||
} |
|||
|
|||
public void setPatMaritalStatusDesc(String patMaritalStatusDesc) { |
|||
this.patMaritalStatusDesc = patMaritalStatusDesc == null ? null : patMaritalStatusDesc.trim(); |
|||
} |
|||
|
|||
public String getPatNationCode() { |
|||
return patNationCode; |
|||
} |
|||
|
|||
public void setPatNationCode(String patNationCode) { |
|||
this.patNationCode = patNationCode == null ? null : patNationCode.trim(); |
|||
} |
|||
|
|||
public String getPatNationDesc() { |
|||
return patNationDesc; |
|||
} |
|||
|
|||
public void setPatNationDesc(String patNationDesc) { |
|||
this.patNationDesc = patNationDesc == null ? null : patNationDesc.trim(); |
|||
} |
|||
|
|||
public String getPatCountryCode() { |
|||
return patCountryCode; |
|||
} |
|||
|
|||
public void setPatCountryCode(String patCountryCode) { |
|||
this.patCountryCode = patCountryCode == null ? null : patCountryCode.trim(); |
|||
} |
|||
|
|||
public String getPatCountryDesc() { |
|||
return patCountryDesc; |
|||
} |
|||
|
|||
public void setPatCountryDesc(String patCountryDesc) { |
|||
this.patCountryDesc = patCountryDesc == null ? null : patCountryDesc.trim(); |
|||
} |
|||
|
|||
public String getPatMotherId() { |
|||
return patMotherId; |
|||
} |
|||
|
|||
public void setPatMotherId(String patMotherId) { |
|||
this.patMotherId = patMotherId == null ? null : patMotherId.trim(); |
|||
} |
|||
|
|||
public Date getPatDeceasedDate() { |
|||
return patDeceasedDate; |
|||
} |
|||
|
|||
public void setPatDeceasedDate(Date patDeceasedDate) { |
|||
this.patDeceasedDate = patDeceasedDate; |
|||
} |
|||
|
|||
public Date getPatDeceasedTime() { |
|||
return patDeceasedTime; |
|||
} |
|||
|
|||
public void setPatDeceasedTime(Date patDeceasedTime) { |
|||
this.patDeceasedTime = patDeceasedTime; |
|||
} |
|||
|
|||
public String getPatTelephone() { |
|||
return patTelephone; |
|||
} |
|||
|
|||
public void setPatTelephone(String patTelephone) { |
|||
this.patTelephone = patTelephone == null ? null : patTelephone.trim(); |
|||
} |
|||
|
|||
public String getPatOccupationCode() { |
|||
return patOccupationCode; |
|||
} |
|||
|
|||
public void setPatOccupationCode(String patOccupationCode) { |
|||
this.patOccupationCode = patOccupationCode == null ? null : patOccupationCode.trim(); |
|||
} |
|||
|
|||
public String getPatOccupationDesc() { |
|||
return patOccupationDesc; |
|||
} |
|||
|
|||
public void setPatOccupationDesc(String patOccupationDesc) { |
|||
this.patOccupationDesc = patOccupationDesc == null ? null : patOccupationDesc.trim(); |
|||
} |
|||
|
|||
public String getPatWorkPlaceTelNum() { |
|||
return patWorkPlaceTelNum; |
|||
} |
|||
|
|||
public void setPatWorkPlaceTelNum(String patWorkPlaceTelNum) { |
|||
this.patWorkPlaceTelNum = patWorkPlaceTelNum == null ? null : patWorkPlaceTelNum.trim(); |
|||
} |
|||
|
|||
public String getPatIdentityNum() { |
|||
return patIdentityNum; |
|||
} |
|||
|
|||
public void setPatIdentityNum(String patIdentityNum) { |
|||
this.patIdentityNum = patIdentityNum == null ? null : patIdentityNum.trim(); |
|||
} |
|||
|
|||
public String getPatIdTypeCode() { |
|||
return patIdTypeCode; |
|||
} |
|||
|
|||
public void setPatIdTypeCode(String patIdTypeCode) { |
|||
this.patIdTypeCode = patIdTypeCode == null ? null : patIdTypeCode.trim(); |
|||
} |
|||
|
|||
public String getPatIdTypeDesc() { |
|||
return patIdTypeDesc; |
|||
} |
|||
|
|||
public void setPatIdTypeDesc(String patIdTypeDesc) { |
|||
this.patIdTypeDesc = patIdTypeDesc == null ? null : patIdTypeDesc.trim(); |
|||
} |
|||
|
|||
public String getPatRelationName() { |
|||
return patRelationName; |
|||
} |
|||
|
|||
public void setPatRelationName(String patRelationName) { |
|||
this.patRelationName = patRelationName == null ? null : patRelationName.trim(); |
|||
} |
|||
|
|||
public String getPatRelationPhone() { |
|||
return patRelationPhone; |
|||
} |
|||
|
|||
public void setPatRelationPhone(String patRelationPhone) { |
|||
this.patRelationPhone = patRelationPhone == null ? null : patRelationPhone.trim(); |
|||
} |
|||
|
|||
public String getPatRemarks() { |
|||
return patRemarks; |
|||
} |
|||
|
|||
public void setPatRemarks(String patRemarks) { |
|||
this.patRemarks = patRemarks == null ? null : patRemarks.trim(); |
|||
} |
|||
|
|||
public String getPaadmVisitNumber() { |
|||
return paadmVisitNumber; |
|||
} |
|||
|
|||
public void setPaadmVisitNumber(String paadmVisitNumber) { |
|||
this.paadmVisitNumber = paadmVisitNumber == null ? null : paadmVisitNumber.trim(); |
|||
} |
|||
|
|||
public Integer getPaadmVisitTimes() { |
|||
return paadmVisitTimes; |
|||
} |
|||
|
|||
public void setPaadmVisitTimes(Integer paadmVisitTimes) { |
|||
this.paadmVisitTimes = paadmVisitTimes; |
|||
} |
|||
|
|||
public String getPaadmDeptCode() { |
|||
return paadmDeptCode; |
|||
} |
|||
|
|||
public void setPaadmDeptCode(String paadmDeptCode) { |
|||
this.paadmDeptCode = paadmDeptCode == null ? null : paadmDeptCode.trim(); |
|||
} |
|||
|
|||
public String getPaadmDeptDesc() { |
|||
return paadmDeptDesc; |
|||
} |
|||
|
|||
public void setPaadmDeptDesc(String paadmDeptDesc) { |
|||
this.paadmDeptDesc = paadmDeptDesc == null ? null : paadmDeptDesc.trim(); |
|||
} |
|||
|
|||
public String getPaadmAdmWardCode() { |
|||
return paadmAdmWardCode; |
|||
} |
|||
|
|||
public void setPaadmAdmWardCode(String paadmAdmWardCode) { |
|||
this.paadmAdmWardCode = paadmAdmWardCode == null ? null : paadmAdmWardCode.trim(); |
|||
} |
|||
|
|||
public String getPaadmAdmWardDesc() { |
|||
return paadmAdmWardDesc; |
|||
} |
|||
|
|||
public void setPaadmAdmWardDesc(String paadmAdmWardDesc) { |
|||
this.paadmAdmWardDesc = paadmAdmWardDesc == null ? null : paadmAdmWardDesc.trim(); |
|||
} |
|||
|
|||
public String getPaadmCurBedNo() { |
|||
return paadmCurBedNo; |
|||
} |
|||
|
|||
public void setPaadmCurBedNo(String paadmCurBedNo) { |
|||
this.paadmCurBedNo = paadmCurBedNo == null ? null : paadmCurBedNo.trim(); |
|||
} |
|||
|
|||
public String getPaadmDocCode() { |
|||
return paadmDocCode; |
|||
} |
|||
|
|||
public void setPaadmDocCode(String paadmDocCode) { |
|||
this.paadmDocCode = paadmDocCode == null ? null : paadmDocCode.trim(); |
|||
} |
|||
|
|||
public String getPaadmDocDesc() { |
|||
return paadmDocDesc; |
|||
} |
|||
|
|||
public void setPaadmDocDesc(String paadmDocDesc) { |
|||
this.paadmDocDesc = paadmDocDesc == null ? null : paadmDocDesc.trim(); |
|||
} |
|||
|
|||
public Date getPaadmStartDate() { |
|||
return paadmStartDate; |
|||
} |
|||
|
|||
public void setPaadmStartDate(Date paadmStartDate) { |
|||
this.paadmStartDate = paadmStartDate; |
|||
} |
|||
|
|||
public Date getPaadmStartTime() { |
|||
return paadmStartTime; |
|||
} |
|||
|
|||
public void setPaadmStartTime(Date paadmStartTime) { |
|||
this.paadmStartTime = paadmStartTime; |
|||
} |
|||
|
|||
public String getPaadmCurDeptCode() { |
|||
return paadmCurDeptCode; |
|||
} |
|||
|
|||
public void setPaadmCurDeptCode(String paadmCurDeptCode) { |
|||
this.paadmCurDeptCode = paadmCurDeptCode == null ? null : paadmCurDeptCode.trim(); |
|||
} |
|||
|
|||
public String getPaadmCurDeptDesc() { |
|||
return paadmCurDeptDesc; |
|||
} |
|||
|
|||
public void setPaadmCurDeptDesc(String paadmCurDeptDesc) { |
|||
this.paadmCurDeptDesc = paadmCurDeptDesc == null ? null : paadmCurDeptDesc.trim(); |
|||
} |
|||
|
|||
public String getPaAdmStatusCode() { |
|||
return paAdmStatusCode; |
|||
} |
|||
|
|||
public void setPaAdmStatusCode(String paAdmStatusCode) { |
|||
this.paAdmStatusCode = paAdmStatusCode == null ? null : paAdmStatusCode.trim(); |
|||
} |
|||
|
|||
public String getPaAdmStatusDesc() { |
|||
return paAdmStatusDesc; |
|||
} |
|||
|
|||
public void setPaAdmStatusDesc(String paAdmStatusDesc) { |
|||
this.paAdmStatusDesc = paAdmStatusDesc == null ? null : paAdmStatusDesc.trim(); |
|||
} |
|||
|
|||
public String getPaadmTypeCode() { |
|||
return paadmTypeCode; |
|||
} |
|||
|
|||
public void setPaadmTypeCode(String paadmTypeCode) { |
|||
this.paadmTypeCode = paadmTypeCode == null ? null : paadmTypeCode.trim(); |
|||
} |
|||
|
|||
public String getPaadmTypeDesc() { |
|||
return paadmTypeDesc; |
|||
} |
|||
|
|||
public void setPaadmTypeDesc(String paadmTypeDesc) { |
|||
this.paadmTypeDesc = paadmTypeDesc == null ? null : paadmTypeDesc.trim(); |
|||
} |
|||
|
|||
public String getPaadmFeeTypeCode() { |
|||
return paadmFeeTypeCode; |
|||
} |
|||
|
|||
public void setPaadmFeeTypeCode(String paadmFeeTypeCode) { |
|||
this.paadmFeeTypeCode = paadmFeeTypeCode == null ? null : paadmFeeTypeCode.trim(); |
|||
} |
|||
|
|||
public String getPaadmFeeTypeDesc() { |
|||
return paadmFeeTypeDesc; |
|||
} |
|||
|
|||
public void setPaadmFeeTypeDesc(String paadmFeeTypeDesc) { |
|||
this.paadmFeeTypeDesc = paadmFeeTypeDesc == null ? null : paadmFeeTypeDesc.trim(); |
|||
} |
|||
|
|||
public String getUpdateUserCode() { |
|||
return updateUserCode; |
|||
} |
|||
|
|||
public void setUpdateUserCode(String updateUserCode) { |
|||
this.updateUserCode = updateUserCode == null ? null : updateUserCode.trim(); |
|||
} |
|||
|
|||
public String getUpdateUserDesc() { |
|||
return updateUserDesc; |
|||
} |
|||
|
|||
public void setUpdateUserDesc(String updateUserDesc) { |
|||
this.updateUserDesc = updateUserDesc == null ? null : updateUserDesc.trim(); |
|||
} |
|||
|
|||
public Date getUpdateDate() { |
|||
return updateDate; |
|||
} |
|||
|
|||
public void setUpdateDate(Date updateDate) { |
|||
this.updateDate = updateDate; |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
@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(", sourceSystem=").append(sourceSystem); |
|||
sb.append(", messageId=").append(messageId); |
|||
sb.append(", hospitalCode=").append(hospitalCode); |
|||
sb.append(", patPatientId=").append(patPatientId); |
|||
sb.append(", patDocumentNo=").append(patDocumentNo); |
|||
sb.append(", patHealthCardId=").append(patHealthCardId); |
|||
sb.append(", patName=").append(patName); |
|||
sb.append(", patDob=").append(patDob); |
|||
sb.append(", patSexCode=").append(patSexCode); |
|||
sb.append(", patSexDesc=").append(patSexDesc); |
|||
sb.append(", patMaritalStatusCode=").append(patMaritalStatusCode); |
|||
sb.append(", patMaritalStatusDesc=").append(patMaritalStatusDesc); |
|||
sb.append(", patNationCode=").append(patNationCode); |
|||
sb.append(", patNationDesc=").append(patNationDesc); |
|||
sb.append(", patCountryCode=").append(patCountryCode); |
|||
sb.append(", patCountryDesc=").append(patCountryDesc); |
|||
sb.append(", patMotherId=").append(patMotherId); |
|||
sb.append(", patDeceasedDate=").append(patDeceasedDate); |
|||
sb.append(", patDeceasedTime=").append(patDeceasedTime); |
|||
sb.append(", patTelephone=").append(patTelephone); |
|||
sb.append(", patOccupationCode=").append(patOccupationCode); |
|||
sb.append(", patOccupationDesc=").append(patOccupationDesc); |
|||
sb.append(", patWorkPlaceTelNum=").append(patWorkPlaceTelNum); |
|||
sb.append(", patIdentityNum=").append(patIdentityNum); |
|||
sb.append(", patIdTypeCode=").append(patIdTypeCode); |
|||
sb.append(", patIdTypeDesc=").append(patIdTypeDesc); |
|||
sb.append(", patRelationName=").append(patRelationName); |
|||
sb.append(", patRelationPhone=").append(patRelationPhone); |
|||
sb.append(", patRemarks=").append(patRemarks); |
|||
sb.append(", paadmVisitNumber=").append(paadmVisitNumber); |
|||
sb.append(", paadmVisitTimes=").append(paadmVisitTimes); |
|||
sb.append(", paadmDeptCode=").append(paadmDeptCode); |
|||
sb.append(", paadmDeptDesc=").append(paadmDeptDesc); |
|||
sb.append(", paadmAdmWardCode=").append(paadmAdmWardCode); |
|||
sb.append(", paadmAdmWardDesc=").append(paadmAdmWardDesc); |
|||
sb.append(", paadmCurBedNo=").append(paadmCurBedNo); |
|||
sb.append(", paadmDocCode=").append(paadmDocCode); |
|||
sb.append(", paadmDocDesc=").append(paadmDocDesc); |
|||
sb.append(", paadmStartDate=").append(paadmStartDate); |
|||
sb.append(", paadmStartTime=").append(paadmStartTime); |
|||
sb.append(", paadmCurDeptCode=").append(paadmCurDeptCode); |
|||
sb.append(", paadmCurDeptDesc=").append(paadmCurDeptDesc); |
|||
sb.append(", paAdmStatusCode=").append(paAdmStatusCode); |
|||
sb.append(", paAdmStatusDesc=").append(paAdmStatusDesc); |
|||
sb.append(", paadmTypeCode=").append(paadmTypeCode); |
|||
sb.append(", paadmTypeDesc=").append(paadmTypeDesc); |
|||
sb.append(", paadmFeeTypeCode=").append(paadmFeeTypeCode); |
|||
sb.append(", paadmFeeTypeDesc=").append(paadmFeeTypeDesc); |
|||
sb.append(", updateUserCode=").append(updateUserCode); |
|||
sb.append(", updateUserDesc=").append(updateUserDesc); |
|||
sb.append(", updateDate=").append(updateDate); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,326 @@ |
|||
package com.ccsens.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class DmsApplicationOrder implements Serializable { |
|||
private Long id; |
|||
|
|||
private String messageId; |
|||
|
|||
private String risrExamId; |
|||
|
|||
private String risrAppNum; |
|||
|
|||
private String risrMattersAttention; |
|||
|
|||
private String risrSpecalMedicalRecord; |
|||
|
|||
private String appDeptCode; |
|||
|
|||
private String appDeptDesc; |
|||
|
|||
private String risrSubmitDocCode; |
|||
|
|||
private String risrSubmitDocDesc; |
|||
|
|||
private Date risrSubmitTime; |
|||
|
|||
private String risrAcceptDeptCode; |
|||
|
|||
private String risrAcceptDeptDesc; |
|||
|
|||
private String risrDeptLocation; |
|||
|
|||
private Byte risrIsEmergency; |
|||
|
|||
private String risrClinicalSymptoms; |
|||
|
|||
private String oeoriOrderItemId; |
|||
|
|||
private String risrPositionCode; |
|||
|
|||
private String risrPostureCode; |
|||
|
|||
private String risrCode; |
|||
|
|||
private String risrDesc; |
|||
|
|||
private String risrPrice; |
|||
|
|||
private String ordSubCatCode; |
|||
|
|||
private String ordSubCatDesc; |
|||
|
|||
private String ordCatCode; |
|||
|
|||
private String ordCatDesc; |
|||
|
|||
private String ordBillStatus; |
|||
|
|||
private String sendFlag; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getMessageId() { |
|||
return messageId; |
|||
} |
|||
|
|||
public void setMessageId(String messageId) { |
|||
this.messageId = messageId == null ? null : messageId.trim(); |
|||
} |
|||
|
|||
public String getRisrExamId() { |
|||
return risrExamId; |
|||
} |
|||
|
|||
public void setRisrExamId(String risrExamId) { |
|||
this.risrExamId = risrExamId == null ? null : risrExamId.trim(); |
|||
} |
|||
|
|||
public String getRisrAppNum() { |
|||
return risrAppNum; |
|||
} |
|||
|
|||
public void setRisrAppNum(String risrAppNum) { |
|||
this.risrAppNum = risrAppNum == null ? null : risrAppNum.trim(); |
|||
} |
|||
|
|||
public String getRisrMattersAttention() { |
|||
return risrMattersAttention; |
|||
} |
|||
|
|||
public void setRisrMattersAttention(String risrMattersAttention) { |
|||
this.risrMattersAttention = risrMattersAttention == null ? null : risrMattersAttention.trim(); |
|||
} |
|||
|
|||
public String getRisrSpecalMedicalRecord() { |
|||
return risrSpecalMedicalRecord; |
|||
} |
|||
|
|||
public void setRisrSpecalMedicalRecord(String risrSpecalMedicalRecord) { |
|||
this.risrSpecalMedicalRecord = risrSpecalMedicalRecord == null ? null : risrSpecalMedicalRecord.trim(); |
|||
} |
|||
|
|||
public String getAppDeptCode() { |
|||
return appDeptCode; |
|||
} |
|||
|
|||
public void setAppDeptCode(String appDeptCode) { |
|||
this.appDeptCode = appDeptCode == null ? null : appDeptCode.trim(); |
|||
} |
|||
|
|||
public String getAppDeptDesc() { |
|||
return appDeptDesc; |
|||
} |
|||
|
|||
public void setAppDeptDesc(String appDeptDesc) { |
|||
this.appDeptDesc = appDeptDesc == null ? null : appDeptDesc.trim(); |
|||
} |
|||
|
|||
public String getRisrSubmitDocCode() { |
|||
return risrSubmitDocCode; |
|||
} |
|||
|
|||
public void setRisrSubmitDocCode(String risrSubmitDocCode) { |
|||
this.risrSubmitDocCode = risrSubmitDocCode == null ? null : risrSubmitDocCode.trim(); |
|||
} |
|||
|
|||
public String getRisrSubmitDocDesc() { |
|||
return risrSubmitDocDesc; |
|||
} |
|||
|
|||
public void setRisrSubmitDocDesc(String risrSubmitDocDesc) { |
|||
this.risrSubmitDocDesc = risrSubmitDocDesc == null ? null : risrSubmitDocDesc.trim(); |
|||
} |
|||
|
|||
public Date getRisrSubmitTime() { |
|||
return risrSubmitTime; |
|||
} |
|||
|
|||
public void setRisrSubmitTime(Date risrSubmitTime) { |
|||
this.risrSubmitTime = risrSubmitTime; |
|||
} |
|||
|
|||
public String getRisrAcceptDeptCode() { |
|||
return risrAcceptDeptCode; |
|||
} |
|||
|
|||
public void setRisrAcceptDeptCode(String risrAcceptDeptCode) { |
|||
this.risrAcceptDeptCode = risrAcceptDeptCode == null ? null : risrAcceptDeptCode.trim(); |
|||
} |
|||
|
|||
public String getRisrAcceptDeptDesc() { |
|||
return risrAcceptDeptDesc; |
|||
} |
|||
|
|||
public void setRisrAcceptDeptDesc(String risrAcceptDeptDesc) { |
|||
this.risrAcceptDeptDesc = risrAcceptDeptDesc == null ? null : risrAcceptDeptDesc.trim(); |
|||
} |
|||
|
|||
public String getRisrDeptLocation() { |
|||
return risrDeptLocation; |
|||
} |
|||
|
|||
public void setRisrDeptLocation(String risrDeptLocation) { |
|||
this.risrDeptLocation = risrDeptLocation == null ? null : risrDeptLocation.trim(); |
|||
} |
|||
|
|||
public Byte getRisrIsEmergency() { |
|||
return risrIsEmergency; |
|||
} |
|||
|
|||
public void setRisrIsEmergency(Byte risrIsEmergency) { |
|||
this.risrIsEmergency = risrIsEmergency; |
|||
} |
|||
|
|||
public String getRisrClinicalSymptoms() { |
|||
return risrClinicalSymptoms; |
|||
} |
|||
|
|||
public void setRisrClinicalSymptoms(String risrClinicalSymptoms) { |
|||
this.risrClinicalSymptoms = risrClinicalSymptoms == null ? null : risrClinicalSymptoms.trim(); |
|||
} |
|||
|
|||
public String getOeoriOrderItemId() { |
|||
return oeoriOrderItemId; |
|||
} |
|||
|
|||
public void setOeoriOrderItemId(String oeoriOrderItemId) { |
|||
this.oeoriOrderItemId = oeoriOrderItemId == null ? null : oeoriOrderItemId.trim(); |
|||
} |
|||
|
|||
public String getRisrPositionCode() { |
|||
return risrPositionCode; |
|||
} |
|||
|
|||
public void setRisrPositionCode(String risrPositionCode) { |
|||
this.risrPositionCode = risrPositionCode == null ? null : risrPositionCode.trim(); |
|||
} |
|||
|
|||
public String getRisrPostureCode() { |
|||
return risrPostureCode; |
|||
} |
|||
|
|||
public void setRisrPostureCode(String risrPostureCode) { |
|||
this.risrPostureCode = risrPostureCode == null ? null : risrPostureCode.trim(); |
|||
} |
|||
|
|||
public String getRisrCode() { |
|||
return risrCode; |
|||
} |
|||
|
|||
public void setRisrCode(String risrCode) { |
|||
this.risrCode = risrCode == null ? null : risrCode.trim(); |
|||
} |
|||
|
|||
public String getRisrDesc() { |
|||
return risrDesc; |
|||
} |
|||
|
|||
public void setRisrDesc(String risrDesc) { |
|||
this.risrDesc = risrDesc == null ? null : risrDesc.trim(); |
|||
} |
|||
|
|||
public String getRisrPrice() { |
|||
return risrPrice; |
|||
} |
|||
|
|||
public void setRisrPrice(String risrPrice) { |
|||
this.risrPrice = risrPrice == null ? null : risrPrice.trim(); |
|||
} |
|||
|
|||
public String getOrdSubCatCode() { |
|||
return ordSubCatCode; |
|||
} |
|||
|
|||
public void setOrdSubCatCode(String ordSubCatCode) { |
|||
this.ordSubCatCode = ordSubCatCode == null ? null : ordSubCatCode.trim(); |
|||
} |
|||
|
|||
public String getOrdSubCatDesc() { |
|||
return ordSubCatDesc; |
|||
} |
|||
|
|||
public void setOrdSubCatDesc(String ordSubCatDesc) { |
|||
this.ordSubCatDesc = ordSubCatDesc == null ? null : ordSubCatDesc.trim(); |
|||
} |
|||
|
|||
public String getOrdCatCode() { |
|||
return ordCatCode; |
|||
} |
|||
|
|||
public void setOrdCatCode(String ordCatCode) { |
|||
this.ordCatCode = ordCatCode == null ? null : ordCatCode.trim(); |
|||
} |
|||
|
|||
public String getOrdCatDesc() { |
|||
return ordCatDesc; |
|||
} |
|||
|
|||
public void setOrdCatDesc(String ordCatDesc) { |
|||
this.ordCatDesc = ordCatDesc == null ? null : ordCatDesc.trim(); |
|||
} |
|||
|
|||
public String getOrdBillStatus() { |
|||
return ordBillStatus; |
|||
} |
|||
|
|||
public void setOrdBillStatus(String ordBillStatus) { |
|||
this.ordBillStatus = ordBillStatus == null ? null : ordBillStatus.trim(); |
|||
} |
|||
|
|||
public String getSendFlag() { |
|||
return sendFlag; |
|||
} |
|||
|
|||
public void setSendFlag(String sendFlag) { |
|||
this.sendFlag = sendFlag == null ? null : sendFlag.trim(); |
|||
} |
|||
|
|||
@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(", messageId=").append(messageId); |
|||
sb.append(", risrExamId=").append(risrExamId); |
|||
sb.append(", risrAppNum=").append(risrAppNum); |
|||
sb.append(", risrMattersAttention=").append(risrMattersAttention); |
|||
sb.append(", risrSpecalMedicalRecord=").append(risrSpecalMedicalRecord); |
|||
sb.append(", appDeptCode=").append(appDeptCode); |
|||
sb.append(", appDeptDesc=").append(appDeptDesc); |
|||
sb.append(", risrSubmitDocCode=").append(risrSubmitDocCode); |
|||
sb.append(", risrSubmitDocDesc=").append(risrSubmitDocDesc); |
|||
sb.append(", risrSubmitTime=").append(risrSubmitTime); |
|||
sb.append(", risrAcceptDeptCode=").append(risrAcceptDeptCode); |
|||
sb.append(", risrAcceptDeptDesc=").append(risrAcceptDeptDesc); |
|||
sb.append(", risrDeptLocation=").append(risrDeptLocation); |
|||
sb.append(", risrIsEmergency=").append(risrIsEmergency); |
|||
sb.append(", risrClinicalSymptoms=").append(risrClinicalSymptoms); |
|||
sb.append(", oeoriOrderItemId=").append(oeoriOrderItemId); |
|||
sb.append(", risrPositionCode=").append(risrPositionCode); |
|||
sb.append(", risrPostureCode=").append(risrPostureCode); |
|||
sb.append(", risrCode=").append(risrCode); |
|||
sb.append(", risrDesc=").append(risrDesc); |
|||
sb.append(", risrPrice=").append(risrPrice); |
|||
sb.append(", ordSubCatCode=").append(ordSubCatCode); |
|||
sb.append(", ordSubCatDesc=").append(ordSubCatDesc); |
|||
sb.append(", ordCatCode=").append(ordCatCode); |
|||
sb.append(", ordCatDesc=").append(ordCatDesc); |
|||
sb.append(", ordBillStatus=").append(ordBillStatus); |
|||
sb.append(", sendFlag=").append(sendFlag); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,30 @@ |
|||
package com.ccsens.system.persist.mapper; |
|||
|
|||
import com.ccsens.system.domain.po.DmsApplication; |
|||
import com.ccsens.system.domain.po.DmsApplicationExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface DmsApplicationMapper { |
|||
long countByExample(DmsApplicationExample example); |
|||
|
|||
int deleteByExample(DmsApplicationExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(DmsApplication record); |
|||
|
|||
int insertSelective(DmsApplication record); |
|||
|
|||
List<DmsApplication> selectByExample(DmsApplicationExample example); |
|||
|
|||
DmsApplication selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") DmsApplication record, @Param("example") DmsApplicationExample example); |
|||
|
|||
int updateByExample(@Param("record") DmsApplication record, @Param("example") DmsApplicationExample example); |
|||
|
|||
int updateByPrimaryKeySelective(DmsApplication record); |
|||
|
|||
int updateByPrimaryKey(DmsApplication record); |
|||
} |
|||
@ -0,0 +1,30 @@ |
|||
package com.ccsens.system.persist.mapper; |
|||
|
|||
import com.ccsens.system.domain.po.DmsApplicationOrder; |
|||
import com.ccsens.system.domain.po.DmsApplicationOrderExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface DmsApplicationOrderMapper { |
|||
long countByExample(DmsApplicationOrderExample example); |
|||
|
|||
int deleteByExample(DmsApplicationOrderExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(DmsApplicationOrder record); |
|||
|
|||
int insertSelective(DmsApplicationOrder record); |
|||
|
|||
List<DmsApplicationOrder> selectByExample(DmsApplicationOrderExample example); |
|||
|
|||
DmsApplicationOrder selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") DmsApplicationOrder record, @Param("example") DmsApplicationOrderExample example); |
|||
|
|||
int updateByExample(@Param("record") DmsApplicationOrder record, @Param("example") DmsApplicationOrderExample example); |
|||
|
|||
int updateByPrimaryKeySelective(DmsApplicationOrder record); |
|||
|
|||
int updateByPrimaryKey(DmsApplicationOrder record); |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
package com.ccsens.system.service; |
|||
|
|||
import com.ccsens.system.domain.dto.DataApplicationDto; |
|||
|
|||
/** |
|||
* @Author zzc |
|||
* @Package com.ccsens.system.service |
|||
* @Date 2026/5/15 9:36 |
|||
* @description: |
|||
*/ |
|||
public interface DataApplicationService { |
|||
|
|||
/** |
|||
* 处理患者数据同步 |
|||
*/ |
|||
void insertPatientData(DataApplicationDto request); |
|||
} |
|||
@ -0,0 +1,216 @@ |
|||
package com.ccsens.system.service.impl; |
|||
|
|||
import cn.hutool.core.collection.CollUtil; |
|||
import cn.hutool.core.date.DateUtil; |
|||
import cn.hutool.core.util.IdUtil; |
|||
import cn.hutool.core.util.StrUtil; |
|||
import com.ccsens.common.utils.IDGenerator; |
|||
import com.ccsens.system.domain.dto.DataApplicationDto; |
|||
import com.ccsens.system.domain.po.*; |
|||
import com.ccsens.system.persist.mapper.DmsApplicationMapper; |
|||
import com.ccsens.system.persist.mapper.DmsApplicationOrderMapper; |
|||
import com.ccsens.system.persist.mapper.DockPatientBaseInfoMapper; |
|||
import com.ccsens.system.persist.mapper.DockPatientVisitInfoMapper; |
|||
import com.ccsens.system.service.DataApplicationService; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import org.springframework.transaction.annotation.Transactional; |
|||
|
|||
import javax.annotation.Resource; |
|||
import java.time.LocalDate; |
|||
import java.time.LocalDateTime; |
|||
import java.time.LocalTime; |
|||
import java.time.format.DateTimeFormatter; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zzc |
|||
* @Package com.ccsens.system.service.impl |
|||
* @Date 2026/5/15 9:36 |
|||
* @description: |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
public class DataApplicationServiceImpl implements DataApplicationService { |
|||
|
|||
@Resource |
|||
private DockPatientBaseInfoMapper baseInfoMapper; |
|||
@Resource |
|||
private DockPatientVisitInfoMapper visitInfoMapper; |
|||
|
|||
// @Resource private DockPatientMedicationInfoMapper medicationInfoMapper; // 暂无数据
|
|||
// @Resource private DockPatientDiagnosisMapper diagnosisMapper; // 暂无数据
|
|||
|
|||
private static final DateTimeFormatter DATE_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd"); |
|||
private static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); |
|||
|
|||
/** |
|||
* 将 DataApplicationDto 的数据插入到四张表中(仅插入有数据的字段) |
|||
* @param request 接收的 DTO 对象 |
|||
*/ |
|||
@Transactional(rollbackFor = Exception.class) |
|||
@Override |
|||
public void insertPatientData(DataApplicationDto request) { |
|||
if (request == null || request.getBody() == null) { |
|||
return; |
|||
} |
|||
|
|||
DataApplicationDto.Body body = request.getBody(); |
|||
DataApplicationDto.PatPatientInfo patientInfo = body.getPatPatientInfo(); |
|||
DataApplicationDto.PatAdmInfo admInfo = body.getPatAdmInfo(); |
|||
|
|||
// 1. 插入患者基础信息
|
|||
if (patientInfo != null) { |
|||
DockPatientBaseInfo baseInfo = new DockPatientBaseInfo(); |
|||
// 映射基础字段(示例)
|
|||
baseInfo.setName(patientInfo.getPatName()); |
|||
baseInfo.setPatientNo(patientInfo.getPatPatientID()); |
|||
baseInfo.setIdCard(patientInfo.getPatIdentityNum()); |
|||
baseInfo.setPhone(patientInfo.getPatTelephone()); |
|||
// 性别转换
|
|||
baseInfo.setSex(convertSexCode(patientInfo.getPatSexCode())); |
|||
// 出生日期转换
|
|||
if (patientInfo.getPatDob() != null) { |
|||
baseInfo.setBirthday(DateUtil.parse(patientInfo.getPatDob(), DATE_FORMATTER)); |
|||
} |
|||
baseInfo.setCareer(convertJobCode(patientInfo.getPatOccupationCode())); |
|||
baseInfo.setMaritalStatus(convertMaritalCode(patientInfo.getPatMaritalStatusCode())); |
|||
baseInfo.setNation(patientInfo.getPatNationDesc()); |
|||
baseInfo.setContactName(patientInfo.getPatRelationName()); |
|||
baseInfo.setContactMobile(patientInfo.getPatRelationPhone()); |
|||
baseInfo.setRemark(patientInfo.getPatRemarks()); |
|||
// 创建/更新信息
|
|||
baseInfo.setCreateBy(body.getUpdateUserCode()); |
|||
baseInfo.setUpdateBy(body.getUpdateUserCode()); |
|||
baseInfo.setCreateTime(new Date()); |
|||
|
|||
//根据身份证查询患者信息
|
|||
DockPatientBaseInfoExample dockPatientBaseInfoExample = new DockPatientBaseInfoExample(); |
|||
dockPatientBaseInfoExample.createCriteria().andIdCardEqualTo(patientInfo.getPatIdentityNum()); |
|||
if (CollUtil.isNotEmpty(baseInfoMapper.selectByExample(dockPatientBaseInfoExample))) { |
|||
baseInfo.setId(baseInfoMapper.selectByExample(dockPatientBaseInfoExample).get(0).getId()); |
|||
baseInfo.setSync("0"); |
|||
baseInfoMapper.updateByPrimaryKeySelective(baseInfo); |
|||
}else { |
|||
baseInfo.setId(IDGenerator.nextSnowflakeId()); |
|||
baseInfo.setSync("0"); |
|||
baseInfoMapper.insertSelective(baseInfo); // 使用 selective 插入,只插入非空字段
|
|||
} |
|||
} |
|||
|
|||
// 2. 插入患者就诊信息
|
|||
if (admInfo != null && patientInfo != null) { |
|||
DockPatientVisitInfo visitInfo = new DockPatientVisitInfo(); |
|||
// 关联字段
|
|||
visitInfo.setIdCard(patientInfo.getPatIdentityNum()); |
|||
visitInfo.setPatientNo(patientInfo.getPatPatientID()); |
|||
// 就诊信息
|
|||
visitInfo.setVisitType(admInfo.getPaadmTypeDesc()); |
|||
visitInfo.setVisitNo(admInfo.getPaadmVisitNumber()); |
|||
visitInfo.setDepartment(admInfo.getPaadmDeptCode()); |
|||
visitInfo.setDoctor(admInfo.getPaadmDocDesc()); |
|||
// 入院日期时间转换
|
|||
if (admInfo.getPaadmStartDate() != null && admInfo.getPaadmStartTime() != null) { |
|||
String dateTimeStr = admInfo.getPaadmStartDate() + " " + admInfo.getPaadmStartTime(); |
|||
visitInfo.setAdmissionDate(DateUtil.parse(dateTimeStr, DATE_TIME_FORMATTER)); |
|||
} |
|||
// 住院次数转换
|
|||
if (admInfo.getPaadmVisitTimes() != null) { |
|||
try { |
|||
visitInfo.setAdmissionCount(Integer.parseInt(admInfo.getPaadmVisitTimes())); |
|||
} catch (NumberFormatException e) { |
|||
// 记录日志或处理异常
|
|||
} |
|||
} |
|||
visitInfo.setBedNumber(admInfo.getPaadmCurBedNo()); |
|||
// 创建/更新信息
|
|||
visitInfo.setCreateBy(body.getUpdateUserCode()); |
|||
visitInfo.setUpdateBy(body.getUpdateUserCode()); |
|||
visitInfo.setCreateTime(new Date()); |
|||
|
|||
//查询该患者是否已有
|
|||
DockPatientVisitInfoExample dockPatientVisitInfoExample = new DockPatientVisitInfoExample(); |
|||
dockPatientVisitInfoExample.createCriteria().andIdCardEqualTo(patientInfo.getPatIdentityNum()).andVisitNoEqualTo(admInfo.getPaadmVisitNumber()); |
|||
if (CollUtil.isNotEmpty(visitInfoMapper.selectByExample(dockPatientVisitInfoExample))) { |
|||
visitInfo.setId(visitInfoMapper.selectByExample(dockPatientVisitInfoExample).get(0).getId()); |
|||
visitInfo.setSync("0"); |
|||
visitInfoMapper.updateByPrimaryKeySelective(visitInfo); |
|||
}else { |
|||
visitInfo.setSync("0"); |
|||
visitInfo.setId(IDGenerator.nextSnowflakeId()); |
|||
visitInfoMapper.insertSelective(visitInfo); |
|||
} |
|||
|
|||
} |
|||
|
|||
// 3. 患者用药信息 (dock_patient_medication_info) - 当前 DTO 无对应数据,暂不插入
|
|||
// 4. 患者诊断信息 (dock_patient_diagnosis) - 当前 DTO 无对应数据,暂不插入
|
|||
|
|||
// 注意:如果后续有其他数据源,可在此补充插入逻辑
|
|||
} |
|||
|
|||
/** |
|||
* 性别代码转换 (标准代码 -> 表定义代码) |
|||
*/ |
|||
private String convertSexCode(String patSexCode) { |
|||
if ("男".equals(patSexCode)) { |
|||
return "0"; // 男
|
|||
} else if ("女".equals(patSexCode)) { |
|||
return "1"; // 女
|
|||
} |
|||
return null; |
|||
} |
|||
|
|||
/** |
|||
* 婚姻代码转换 (标准代码 -> 表定义代码) |
|||
*/ |
|||
private String convertMaritalCode(String patMaritalCode) { |
|||
if ("2".equals(patMaritalCode) || "21".equals(patMaritalCode) || "22".equals(patMaritalCode) || "23".equals(patMaritalCode)) { |
|||
return "1"; |
|||
} else if ("1".equals(patMaritalCode)) { |
|||
return "2"; |
|||
}else if ("4".equals(patMaritalCode)) { |
|||
return "3"; |
|||
}else if ("3".equals(patMaritalCode)) { |
|||
return "4"; |
|||
}else { |
|||
return "5"; |
|||
} |
|||
} |
|||
|
|||
/** |
|||
* 职业代码转换 (标准代码 -> 表定义代码) |
|||
*/ |
|||
private String convertJobCode(String patJobCode) { |
|||
if ("11".equals(patJobCode)) { |
|||
return "1"; |
|||
}else if ("13".equals(patJobCode)) { |
|||
return "2"; |
|||
}else if ("17".equals(patJobCode)) { |
|||
return "3"; |
|||
} else if ("21".equals(patJobCode)) { |
|||
return "4"; |
|||
} else if ("24".equals(patJobCode)) { |
|||
return "5"; |
|||
} else if ("27".equals(patJobCode)) { |
|||
return "6"; |
|||
} else if ("31".equals(patJobCode)) { |
|||
return "7"; |
|||
} else if ("37".equals(patJobCode)) { |
|||
return "8"; |
|||
} else if ("51".equals(patJobCode)) { |
|||
return "9"; |
|||
} else if ("54".equals(patJobCode)) { |
|||
return "10"; |
|||
} else if ("70".equals(patJobCode)) { |
|||
return "11"; |
|||
} else if ("80".equals(patJobCode)) { |
|||
return "12"; |
|||
} else { |
|||
return "13"; |
|||
} |
|||
} |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,990 @@ |
|||
<?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.ccsens.system.persist.mapper.DmsApplicationMapper"> |
|||
<resultMap id="BaseResultMap" type="com.ccsens.system.domain.po.DmsApplication"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="source_system" jdbcType="VARCHAR" property="sourceSystem" /> |
|||
<result column="message_id" jdbcType="VARCHAR" property="messageId" /> |
|||
<result column="hospital_code" jdbcType="VARCHAR" property="hospitalCode" /> |
|||
<result column="pat_patient_id" jdbcType="VARCHAR" property="patPatientId" /> |
|||
<result column="pat_document_no" jdbcType="VARCHAR" property="patDocumentNo" /> |
|||
<result column="pat_health_card_id" jdbcType="VARCHAR" property="patHealthCardId" /> |
|||
<result column="pat_name" jdbcType="VARCHAR" property="patName" /> |
|||
<result column="pat_dob" jdbcType="TIMESTAMP" property="patDob" /> |
|||
<result column="pat_sex_code" jdbcType="VARCHAR" property="patSexCode" /> |
|||
<result column="pat_sex_desc" jdbcType="VARCHAR" property="patSexDesc" /> |
|||
<result column="pat_marital_status_code" jdbcType="VARCHAR" property="patMaritalStatusCode" /> |
|||
<result column="pat_marital_status_desc" jdbcType="VARCHAR" property="patMaritalStatusDesc" /> |
|||
<result column="pat_nation_code" jdbcType="VARCHAR" property="patNationCode" /> |
|||
<result column="pat_nation_desc" jdbcType="VARCHAR" property="patNationDesc" /> |
|||
<result column="pat_country_code" jdbcType="VARCHAR" property="patCountryCode" /> |
|||
<result column="pat_country_desc" jdbcType="VARCHAR" property="patCountryDesc" /> |
|||
<result column="pat_mother_id" jdbcType="VARCHAR" property="patMotherId" /> |
|||
<result column="pat_deceased_date" jdbcType="DATE" property="patDeceasedDate" /> |
|||
<result column="pat_deceased_time" jdbcType="TIME" property="patDeceasedTime" /> |
|||
<result column="pat_telephone" jdbcType="VARCHAR" property="patTelephone" /> |
|||
<result column="pat_occupation_code" jdbcType="VARCHAR" property="patOccupationCode" /> |
|||
<result column="pat_occupation_desc" jdbcType="VARCHAR" property="patOccupationDesc" /> |
|||
<result column="pat_work_place_tel_num" jdbcType="VARCHAR" property="patWorkPlaceTelNum" /> |
|||
<result column="pat_identity_num" jdbcType="VARCHAR" property="patIdentityNum" /> |
|||
<result column="pat_id_type_code" jdbcType="VARCHAR" property="patIdTypeCode" /> |
|||
<result column="pat_id_type_desc" jdbcType="VARCHAR" property="patIdTypeDesc" /> |
|||
<result column="pat_relation_name" jdbcType="VARCHAR" property="patRelationName" /> |
|||
<result column="pat_relation_phone" jdbcType="VARCHAR" property="patRelationPhone" /> |
|||
<result column="pat_remarks" jdbcType="VARCHAR" property="patRemarks" /> |
|||
<result column="paadm_visit_number" jdbcType="VARCHAR" property="paadmVisitNumber" /> |
|||
<result column="paadm_visit_times" jdbcType="INTEGER" property="paadmVisitTimes" /> |
|||
<result column="paadm_dept_code" jdbcType="VARCHAR" property="paadmDeptCode" /> |
|||
<result column="paadm_dept_desc" jdbcType="VARCHAR" property="paadmDeptDesc" /> |
|||
<result column="paadm_adm_ward_code" jdbcType="VARCHAR" property="paadmAdmWardCode" /> |
|||
<result column="paadm_adm_ward_desc" jdbcType="VARCHAR" property="paadmAdmWardDesc" /> |
|||
<result column="paadm_cur_bed_no" jdbcType="VARCHAR" property="paadmCurBedNo" /> |
|||
<result column="paadm_doc_code" jdbcType="VARCHAR" property="paadmDocCode" /> |
|||
<result column="paadm_doc_desc" jdbcType="VARCHAR" property="paadmDocDesc" /> |
|||
<result column="paadm_start_date" jdbcType="DATE" property="paadmStartDate" /> |
|||
<result column="paadm_start_time" jdbcType="TIME" property="paadmStartTime" /> |
|||
<result column="paadm_cur_dept_code" jdbcType="VARCHAR" property="paadmCurDeptCode" /> |
|||
<result column="paadm_cur_dept_desc" jdbcType="VARCHAR" property="paadmCurDeptDesc" /> |
|||
<result column="pa_adm_status_code" jdbcType="VARCHAR" property="paAdmStatusCode" /> |
|||
<result column="pa_adm_status_desc" jdbcType="VARCHAR" property="paAdmStatusDesc" /> |
|||
<result column="paadm_type_code" jdbcType="VARCHAR" property="paadmTypeCode" /> |
|||
<result column="paadm_type_desc" jdbcType="VARCHAR" property="paadmTypeDesc" /> |
|||
<result column="paadm_fee_type_code" jdbcType="VARCHAR" property="paadmFeeTypeCode" /> |
|||
<result column="paadm_fee_type_desc" jdbcType="VARCHAR" property="paadmFeeTypeDesc" /> |
|||
<result column="update_user_code" jdbcType="VARCHAR" property="updateUserCode" /> |
|||
<result column="update_user_desc" jdbcType="VARCHAR" property="updateUserDesc" /> |
|||
<result column="update_date" jdbcType="DATE" property="updateDate" /> |
|||
<result column="update_time" jdbcType="TIME" property="updateTime" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, source_system, message_id, hospital_code, pat_patient_id, pat_document_no, pat_health_card_id, |
|||
pat_name, pat_dob, pat_sex_code, pat_sex_desc, pat_marital_status_code, pat_marital_status_desc, |
|||
pat_nation_code, pat_nation_desc, pat_country_code, pat_country_desc, pat_mother_id, |
|||
pat_deceased_date, pat_deceased_time, pat_telephone, pat_occupation_code, pat_occupation_desc, |
|||
pat_work_place_tel_num, pat_identity_num, pat_id_type_code, pat_id_type_desc, pat_relation_name, |
|||
pat_relation_phone, pat_remarks, paadm_visit_number, paadm_visit_times, paadm_dept_code, |
|||
paadm_dept_desc, paadm_adm_ward_code, paadm_adm_ward_desc, paadm_cur_bed_no, paadm_doc_code, |
|||
paadm_doc_desc, paadm_start_date, paadm_start_time, paadm_cur_dept_code, paadm_cur_dept_desc, |
|||
pa_adm_status_code, pa_adm_status_desc, paadm_type_code, paadm_type_desc, paadm_fee_type_code, |
|||
paadm_fee_type_desc, update_user_code, update_user_desc, update_date, update_time, |
|||
create_time |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.ccsens.system.domain.po.DmsApplicationExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from dms_application |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from dms_application |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from dms_application |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<delete id="deleteByExample" parameterType="com.ccsens.system.domain.po.DmsApplicationExample"> |
|||
delete from dms_application |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</delete> |
|||
<insert id="insert" parameterType="com.ccsens.system.domain.po.DmsApplication"> |
|||
insert into dms_application (id, source_system, message_id, |
|||
hospital_code, pat_patient_id, pat_document_no, |
|||
pat_health_card_id, pat_name, pat_dob, |
|||
pat_sex_code, pat_sex_desc, pat_marital_status_code, |
|||
pat_marital_status_desc, pat_nation_code, pat_nation_desc, |
|||
pat_country_code, pat_country_desc, pat_mother_id, |
|||
pat_deceased_date, pat_deceased_time, pat_telephone, |
|||
pat_occupation_code, pat_occupation_desc, pat_work_place_tel_num, |
|||
pat_identity_num, pat_id_type_code, pat_id_type_desc, |
|||
pat_relation_name, pat_relation_phone, pat_remarks, |
|||
paadm_visit_number, paadm_visit_times, paadm_dept_code, |
|||
paadm_dept_desc, paadm_adm_ward_code, paadm_adm_ward_desc, |
|||
paadm_cur_bed_no, paadm_doc_code, paadm_doc_desc, |
|||
paadm_start_date, paadm_start_time, paadm_cur_dept_code, |
|||
paadm_cur_dept_desc, pa_adm_status_code, pa_adm_status_desc, |
|||
paadm_type_code, paadm_type_desc, paadm_fee_type_code, |
|||
paadm_fee_type_desc, update_user_code, update_user_desc, |
|||
update_date, update_time, create_time |
|||
) |
|||
values (#{id,jdbcType=BIGINT}, #{sourceSystem,jdbcType=VARCHAR}, #{messageId,jdbcType=VARCHAR}, |
|||
#{hospitalCode,jdbcType=VARCHAR}, #{patPatientId,jdbcType=VARCHAR}, #{patDocumentNo,jdbcType=VARCHAR}, |
|||
#{patHealthCardId,jdbcType=VARCHAR}, #{patName,jdbcType=VARCHAR}, #{patDob,jdbcType=TIMESTAMP}, |
|||
#{patSexCode,jdbcType=VARCHAR}, #{patSexDesc,jdbcType=VARCHAR}, #{patMaritalStatusCode,jdbcType=VARCHAR}, |
|||
#{patMaritalStatusDesc,jdbcType=VARCHAR}, #{patNationCode,jdbcType=VARCHAR}, #{patNationDesc,jdbcType=VARCHAR}, |
|||
#{patCountryCode,jdbcType=VARCHAR}, #{patCountryDesc,jdbcType=VARCHAR}, #{patMotherId,jdbcType=VARCHAR}, |
|||
#{patDeceasedDate,jdbcType=DATE}, #{patDeceasedTime,jdbcType=TIME}, #{patTelephone,jdbcType=VARCHAR}, |
|||
#{patOccupationCode,jdbcType=VARCHAR}, #{patOccupationDesc,jdbcType=VARCHAR}, #{patWorkPlaceTelNum,jdbcType=VARCHAR}, |
|||
#{patIdentityNum,jdbcType=VARCHAR}, #{patIdTypeCode,jdbcType=VARCHAR}, #{patIdTypeDesc,jdbcType=VARCHAR}, |
|||
#{patRelationName,jdbcType=VARCHAR}, #{patRelationPhone,jdbcType=VARCHAR}, #{patRemarks,jdbcType=VARCHAR}, |
|||
#{paadmVisitNumber,jdbcType=VARCHAR}, #{paadmVisitTimes,jdbcType=INTEGER}, #{paadmDeptCode,jdbcType=VARCHAR}, |
|||
#{paadmDeptDesc,jdbcType=VARCHAR}, #{paadmAdmWardCode,jdbcType=VARCHAR}, #{paadmAdmWardDesc,jdbcType=VARCHAR}, |
|||
#{paadmCurBedNo,jdbcType=VARCHAR}, #{paadmDocCode,jdbcType=VARCHAR}, #{paadmDocDesc,jdbcType=VARCHAR}, |
|||
#{paadmStartDate,jdbcType=DATE}, #{paadmStartTime,jdbcType=TIME}, #{paadmCurDeptCode,jdbcType=VARCHAR}, |
|||
#{paadmCurDeptDesc,jdbcType=VARCHAR}, #{paAdmStatusCode,jdbcType=VARCHAR}, #{paAdmStatusDesc,jdbcType=VARCHAR}, |
|||
#{paadmTypeCode,jdbcType=VARCHAR}, #{paadmTypeDesc,jdbcType=VARCHAR}, #{paadmFeeTypeCode,jdbcType=VARCHAR}, |
|||
#{paadmFeeTypeDesc,jdbcType=VARCHAR}, #{updateUserCode,jdbcType=VARCHAR}, #{updateUserDesc,jdbcType=VARCHAR}, |
|||
#{updateDate,jdbcType=DATE}, #{updateTime,jdbcType=TIME}, #{createTime,jdbcType=TIMESTAMP} |
|||
) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.ccsens.system.domain.po.DmsApplication"> |
|||
insert into dms_application |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="sourceSystem != null"> |
|||
source_system, |
|||
</if> |
|||
<if test="messageId != null"> |
|||
message_id, |
|||
</if> |
|||
<if test="hospitalCode != null"> |
|||
hospital_code, |
|||
</if> |
|||
<if test="patPatientId != null"> |
|||
pat_patient_id, |
|||
</if> |
|||
<if test="patDocumentNo != null"> |
|||
pat_document_no, |
|||
</if> |
|||
<if test="patHealthCardId != null"> |
|||
pat_health_card_id, |
|||
</if> |
|||
<if test="patName != null"> |
|||
pat_name, |
|||
</if> |
|||
<if test="patDob != null"> |
|||
pat_dob, |
|||
</if> |
|||
<if test="patSexCode != null"> |
|||
pat_sex_code, |
|||
</if> |
|||
<if test="patSexDesc != null"> |
|||
pat_sex_desc, |
|||
</if> |
|||
<if test="patMaritalStatusCode != null"> |
|||
pat_marital_status_code, |
|||
</if> |
|||
<if test="patMaritalStatusDesc != null"> |
|||
pat_marital_status_desc, |
|||
</if> |
|||
<if test="patNationCode != null"> |
|||
pat_nation_code, |
|||
</if> |
|||
<if test="patNationDesc != null"> |
|||
pat_nation_desc, |
|||
</if> |
|||
<if test="patCountryCode != null"> |
|||
pat_country_code, |
|||
</if> |
|||
<if test="patCountryDesc != null"> |
|||
pat_country_desc, |
|||
</if> |
|||
<if test="patMotherId != null"> |
|||
pat_mother_id, |
|||
</if> |
|||
<if test="patDeceasedDate != null"> |
|||
pat_deceased_date, |
|||
</if> |
|||
<if test="patDeceasedTime != null"> |
|||
pat_deceased_time, |
|||
</if> |
|||
<if test="patTelephone != null"> |
|||
pat_telephone, |
|||
</if> |
|||
<if test="patOccupationCode != null"> |
|||
pat_occupation_code, |
|||
</if> |
|||
<if test="patOccupationDesc != null"> |
|||
pat_occupation_desc, |
|||
</if> |
|||
<if test="patWorkPlaceTelNum != null"> |
|||
pat_work_place_tel_num, |
|||
</if> |
|||
<if test="patIdentityNum != null"> |
|||
pat_identity_num, |
|||
</if> |
|||
<if test="patIdTypeCode != null"> |
|||
pat_id_type_code, |
|||
</if> |
|||
<if test="patIdTypeDesc != null"> |
|||
pat_id_type_desc, |
|||
</if> |
|||
<if test="patRelationName != null"> |
|||
pat_relation_name, |
|||
</if> |
|||
<if test="patRelationPhone != null"> |
|||
pat_relation_phone, |
|||
</if> |
|||
<if test="patRemarks != null"> |
|||
pat_remarks, |
|||
</if> |
|||
<if test="paadmVisitNumber != null"> |
|||
paadm_visit_number, |
|||
</if> |
|||
<if test="paadmVisitTimes != null"> |
|||
paadm_visit_times, |
|||
</if> |
|||
<if test="paadmDeptCode != null"> |
|||
paadm_dept_code, |
|||
</if> |
|||
<if test="paadmDeptDesc != null"> |
|||
paadm_dept_desc, |
|||
</if> |
|||
<if test="paadmAdmWardCode != null"> |
|||
paadm_adm_ward_code, |
|||
</if> |
|||
<if test="paadmAdmWardDesc != null"> |
|||
paadm_adm_ward_desc, |
|||
</if> |
|||
<if test="paadmCurBedNo != null"> |
|||
paadm_cur_bed_no, |
|||
</if> |
|||
<if test="paadmDocCode != null"> |
|||
paadm_doc_code, |
|||
</if> |
|||
<if test="paadmDocDesc != null"> |
|||
paadm_doc_desc, |
|||
</if> |
|||
<if test="paadmStartDate != null"> |
|||
paadm_start_date, |
|||
</if> |
|||
<if test="paadmStartTime != null"> |
|||
paadm_start_time, |
|||
</if> |
|||
<if test="paadmCurDeptCode != null"> |
|||
paadm_cur_dept_code, |
|||
</if> |
|||
<if test="paadmCurDeptDesc != null"> |
|||
paadm_cur_dept_desc, |
|||
</if> |
|||
<if test="paAdmStatusCode != null"> |
|||
pa_adm_status_code, |
|||
</if> |
|||
<if test="paAdmStatusDesc != null"> |
|||
pa_adm_status_desc, |
|||
</if> |
|||
<if test="paadmTypeCode != null"> |
|||
paadm_type_code, |
|||
</if> |
|||
<if test="paadmTypeDesc != null"> |
|||
paadm_type_desc, |
|||
</if> |
|||
<if test="paadmFeeTypeCode != null"> |
|||
paadm_fee_type_code, |
|||
</if> |
|||
<if test="paadmFeeTypeDesc != null"> |
|||
paadm_fee_type_desc, |
|||
</if> |
|||
<if test="updateUserCode != null"> |
|||
update_user_code, |
|||
</if> |
|||
<if test="updateUserDesc != null"> |
|||
update_user_desc, |
|||
</if> |
|||
<if test="updateDate != null"> |
|||
update_date, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="sourceSystem != null"> |
|||
#{sourceSystem,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="messageId != null"> |
|||
#{messageId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="hospitalCode != null"> |
|||
#{hospitalCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patPatientId != null"> |
|||
#{patPatientId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patDocumentNo != null"> |
|||
#{patDocumentNo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patHealthCardId != null"> |
|||
#{patHealthCardId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patName != null"> |
|||
#{patName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patDob != null"> |
|||
#{patDob,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="patSexCode != null"> |
|||
#{patSexCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patSexDesc != null"> |
|||
#{patSexDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patMaritalStatusCode != null"> |
|||
#{patMaritalStatusCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patMaritalStatusDesc != null"> |
|||
#{patMaritalStatusDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patNationCode != null"> |
|||
#{patNationCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patNationDesc != null"> |
|||
#{patNationDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patCountryCode != null"> |
|||
#{patCountryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patCountryDesc != null"> |
|||
#{patCountryDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patMotherId != null"> |
|||
#{patMotherId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patDeceasedDate != null"> |
|||
#{patDeceasedDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="patDeceasedTime != null"> |
|||
#{patDeceasedTime,jdbcType=TIME}, |
|||
</if> |
|||
<if test="patTelephone != null"> |
|||
#{patTelephone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patOccupationCode != null"> |
|||
#{patOccupationCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patOccupationDesc != null"> |
|||
#{patOccupationDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patWorkPlaceTelNum != null"> |
|||
#{patWorkPlaceTelNum,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patIdentityNum != null"> |
|||
#{patIdentityNum,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patIdTypeCode != null"> |
|||
#{patIdTypeCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patIdTypeDesc != null"> |
|||
#{patIdTypeDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patRelationName != null"> |
|||
#{patRelationName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patRelationPhone != null"> |
|||
#{patRelationPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patRemarks != null"> |
|||
#{patRemarks,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmVisitNumber != null"> |
|||
#{paadmVisitNumber,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmVisitTimes != null"> |
|||
#{paadmVisitTimes,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="paadmDeptCode != null"> |
|||
#{paadmDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmDeptDesc != null"> |
|||
#{paadmDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmAdmWardCode != null"> |
|||
#{paadmAdmWardCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmAdmWardDesc != null"> |
|||
#{paadmAdmWardDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmCurBedNo != null"> |
|||
#{paadmCurBedNo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmDocCode != null"> |
|||
#{paadmDocCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmDocDesc != null"> |
|||
#{paadmDocDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmStartDate != null"> |
|||
#{paadmStartDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="paadmStartTime != null"> |
|||
#{paadmStartTime,jdbcType=TIME}, |
|||
</if> |
|||
<if test="paadmCurDeptCode != null"> |
|||
#{paadmCurDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmCurDeptDesc != null"> |
|||
#{paadmCurDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paAdmStatusCode != null"> |
|||
#{paAdmStatusCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paAdmStatusDesc != null"> |
|||
#{paAdmStatusDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmTypeCode != null"> |
|||
#{paadmTypeCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmTypeDesc != null"> |
|||
#{paadmTypeDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmFeeTypeCode != null"> |
|||
#{paadmFeeTypeCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmFeeTypeDesc != null"> |
|||
#{paadmFeeTypeDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateUserCode != null"> |
|||
#{updateUserCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateUserDesc != null"> |
|||
#{updateUserDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateDate != null"> |
|||
#{updateDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIME}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.ccsens.system.domain.po.DmsApplicationExample" resultType="java.lang.Long"> |
|||
select count(*) from dms_application |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update dms_application |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.sourceSystem != null"> |
|||
source_system = #{record.sourceSystem,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.messageId != null"> |
|||
message_id = #{record.messageId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.hospitalCode != null"> |
|||
hospital_code = #{record.hospitalCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patPatientId != null"> |
|||
pat_patient_id = #{record.patPatientId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patDocumentNo != null"> |
|||
pat_document_no = #{record.patDocumentNo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patHealthCardId != null"> |
|||
pat_health_card_id = #{record.patHealthCardId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patName != null"> |
|||
pat_name = #{record.patName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patDob != null"> |
|||
pat_dob = #{record.patDob,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.patSexCode != null"> |
|||
pat_sex_code = #{record.patSexCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patSexDesc != null"> |
|||
pat_sex_desc = #{record.patSexDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patMaritalStatusCode != null"> |
|||
pat_marital_status_code = #{record.patMaritalStatusCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patMaritalStatusDesc != null"> |
|||
pat_marital_status_desc = #{record.patMaritalStatusDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patNationCode != null"> |
|||
pat_nation_code = #{record.patNationCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patNationDesc != null"> |
|||
pat_nation_desc = #{record.patNationDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patCountryCode != null"> |
|||
pat_country_code = #{record.patCountryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patCountryDesc != null"> |
|||
pat_country_desc = #{record.patCountryDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patMotherId != null"> |
|||
pat_mother_id = #{record.patMotherId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patDeceasedDate != null"> |
|||
pat_deceased_date = #{record.patDeceasedDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="record.patDeceasedTime != null"> |
|||
pat_deceased_time = #{record.patDeceasedTime,jdbcType=TIME}, |
|||
</if> |
|||
<if test="record.patTelephone != null"> |
|||
pat_telephone = #{record.patTelephone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patOccupationCode != null"> |
|||
pat_occupation_code = #{record.patOccupationCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patOccupationDesc != null"> |
|||
pat_occupation_desc = #{record.patOccupationDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patWorkPlaceTelNum != null"> |
|||
pat_work_place_tel_num = #{record.patWorkPlaceTelNum,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patIdentityNum != null"> |
|||
pat_identity_num = #{record.patIdentityNum,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patIdTypeCode != null"> |
|||
pat_id_type_code = #{record.patIdTypeCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patIdTypeDesc != null"> |
|||
pat_id_type_desc = #{record.patIdTypeDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patRelationName != null"> |
|||
pat_relation_name = #{record.patRelationName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patRelationPhone != null"> |
|||
pat_relation_phone = #{record.patRelationPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.patRemarks != null"> |
|||
pat_remarks = #{record.patRemarks,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmVisitNumber != null"> |
|||
paadm_visit_number = #{record.paadmVisitNumber,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmVisitTimes != null"> |
|||
paadm_visit_times = #{record.paadmVisitTimes,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="record.paadmDeptCode != null"> |
|||
paadm_dept_code = #{record.paadmDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmDeptDesc != null"> |
|||
paadm_dept_desc = #{record.paadmDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmAdmWardCode != null"> |
|||
paadm_adm_ward_code = #{record.paadmAdmWardCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmAdmWardDesc != null"> |
|||
paadm_adm_ward_desc = #{record.paadmAdmWardDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmCurBedNo != null"> |
|||
paadm_cur_bed_no = #{record.paadmCurBedNo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmDocCode != null"> |
|||
paadm_doc_code = #{record.paadmDocCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmDocDesc != null"> |
|||
paadm_doc_desc = #{record.paadmDocDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmStartDate != null"> |
|||
paadm_start_date = #{record.paadmStartDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="record.paadmStartTime != null"> |
|||
paadm_start_time = #{record.paadmStartTime,jdbcType=TIME}, |
|||
</if> |
|||
<if test="record.paadmCurDeptCode != null"> |
|||
paadm_cur_dept_code = #{record.paadmCurDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmCurDeptDesc != null"> |
|||
paadm_cur_dept_desc = #{record.paadmCurDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paAdmStatusCode != null"> |
|||
pa_adm_status_code = #{record.paAdmStatusCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paAdmStatusDesc != null"> |
|||
pa_adm_status_desc = #{record.paAdmStatusDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmTypeCode != null"> |
|||
paadm_type_code = #{record.paadmTypeCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmTypeDesc != null"> |
|||
paadm_type_desc = #{record.paadmTypeDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmFeeTypeCode != null"> |
|||
paadm_fee_type_code = #{record.paadmFeeTypeCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paadmFeeTypeDesc != null"> |
|||
paadm_fee_type_desc = #{record.paadmFeeTypeDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateUserCode != null"> |
|||
update_user_code = #{record.updateUserCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateUserDesc != null"> |
|||
update_user_desc = #{record.updateUserDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateDate != null"> |
|||
update_date = #{record.updateDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIME}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update dms_application |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
source_system = #{record.sourceSystem,jdbcType=VARCHAR}, |
|||
message_id = #{record.messageId,jdbcType=VARCHAR}, |
|||
hospital_code = #{record.hospitalCode,jdbcType=VARCHAR}, |
|||
pat_patient_id = #{record.patPatientId,jdbcType=VARCHAR}, |
|||
pat_document_no = #{record.patDocumentNo,jdbcType=VARCHAR}, |
|||
pat_health_card_id = #{record.patHealthCardId,jdbcType=VARCHAR}, |
|||
pat_name = #{record.patName,jdbcType=VARCHAR}, |
|||
pat_dob = #{record.patDob,jdbcType=TIMESTAMP}, |
|||
pat_sex_code = #{record.patSexCode,jdbcType=VARCHAR}, |
|||
pat_sex_desc = #{record.patSexDesc,jdbcType=VARCHAR}, |
|||
pat_marital_status_code = #{record.patMaritalStatusCode,jdbcType=VARCHAR}, |
|||
pat_marital_status_desc = #{record.patMaritalStatusDesc,jdbcType=VARCHAR}, |
|||
pat_nation_code = #{record.patNationCode,jdbcType=VARCHAR}, |
|||
pat_nation_desc = #{record.patNationDesc,jdbcType=VARCHAR}, |
|||
pat_country_code = #{record.patCountryCode,jdbcType=VARCHAR}, |
|||
pat_country_desc = #{record.patCountryDesc,jdbcType=VARCHAR}, |
|||
pat_mother_id = #{record.patMotherId,jdbcType=VARCHAR}, |
|||
pat_deceased_date = #{record.patDeceasedDate,jdbcType=DATE}, |
|||
pat_deceased_time = #{record.patDeceasedTime,jdbcType=TIME}, |
|||
pat_telephone = #{record.patTelephone,jdbcType=VARCHAR}, |
|||
pat_occupation_code = #{record.patOccupationCode,jdbcType=VARCHAR}, |
|||
pat_occupation_desc = #{record.patOccupationDesc,jdbcType=VARCHAR}, |
|||
pat_work_place_tel_num = #{record.patWorkPlaceTelNum,jdbcType=VARCHAR}, |
|||
pat_identity_num = #{record.patIdentityNum,jdbcType=VARCHAR}, |
|||
pat_id_type_code = #{record.patIdTypeCode,jdbcType=VARCHAR}, |
|||
pat_id_type_desc = #{record.patIdTypeDesc,jdbcType=VARCHAR}, |
|||
pat_relation_name = #{record.patRelationName,jdbcType=VARCHAR}, |
|||
pat_relation_phone = #{record.patRelationPhone,jdbcType=VARCHAR}, |
|||
pat_remarks = #{record.patRemarks,jdbcType=VARCHAR}, |
|||
paadm_visit_number = #{record.paadmVisitNumber,jdbcType=VARCHAR}, |
|||
paadm_visit_times = #{record.paadmVisitTimes,jdbcType=INTEGER}, |
|||
paadm_dept_code = #{record.paadmDeptCode,jdbcType=VARCHAR}, |
|||
paadm_dept_desc = #{record.paadmDeptDesc,jdbcType=VARCHAR}, |
|||
paadm_adm_ward_code = #{record.paadmAdmWardCode,jdbcType=VARCHAR}, |
|||
paadm_adm_ward_desc = #{record.paadmAdmWardDesc,jdbcType=VARCHAR}, |
|||
paadm_cur_bed_no = #{record.paadmCurBedNo,jdbcType=VARCHAR}, |
|||
paadm_doc_code = #{record.paadmDocCode,jdbcType=VARCHAR}, |
|||
paadm_doc_desc = #{record.paadmDocDesc,jdbcType=VARCHAR}, |
|||
paadm_start_date = #{record.paadmStartDate,jdbcType=DATE}, |
|||
paadm_start_time = #{record.paadmStartTime,jdbcType=TIME}, |
|||
paadm_cur_dept_code = #{record.paadmCurDeptCode,jdbcType=VARCHAR}, |
|||
paadm_cur_dept_desc = #{record.paadmCurDeptDesc,jdbcType=VARCHAR}, |
|||
pa_adm_status_code = #{record.paAdmStatusCode,jdbcType=VARCHAR}, |
|||
pa_adm_status_desc = #{record.paAdmStatusDesc,jdbcType=VARCHAR}, |
|||
paadm_type_code = #{record.paadmTypeCode,jdbcType=VARCHAR}, |
|||
paadm_type_desc = #{record.paadmTypeDesc,jdbcType=VARCHAR}, |
|||
paadm_fee_type_code = #{record.paadmFeeTypeCode,jdbcType=VARCHAR}, |
|||
paadm_fee_type_desc = #{record.paadmFeeTypeDesc,jdbcType=VARCHAR}, |
|||
update_user_code = #{record.updateUserCode,jdbcType=VARCHAR}, |
|||
update_user_desc = #{record.updateUserDesc,jdbcType=VARCHAR}, |
|||
update_date = #{record.updateDate,jdbcType=DATE}, |
|||
update_time = #{record.updateTime,jdbcType=TIME}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.system.domain.po.DmsApplication"> |
|||
update dms_application |
|||
<set> |
|||
<if test="sourceSystem != null"> |
|||
source_system = #{sourceSystem,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="messageId != null"> |
|||
message_id = #{messageId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="hospitalCode != null"> |
|||
hospital_code = #{hospitalCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patPatientId != null"> |
|||
pat_patient_id = #{patPatientId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patDocumentNo != null"> |
|||
pat_document_no = #{patDocumentNo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patHealthCardId != null"> |
|||
pat_health_card_id = #{patHealthCardId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patName != null"> |
|||
pat_name = #{patName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patDob != null"> |
|||
pat_dob = #{patDob,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="patSexCode != null"> |
|||
pat_sex_code = #{patSexCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patSexDesc != null"> |
|||
pat_sex_desc = #{patSexDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patMaritalStatusCode != null"> |
|||
pat_marital_status_code = #{patMaritalStatusCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patMaritalStatusDesc != null"> |
|||
pat_marital_status_desc = #{patMaritalStatusDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patNationCode != null"> |
|||
pat_nation_code = #{patNationCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patNationDesc != null"> |
|||
pat_nation_desc = #{patNationDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patCountryCode != null"> |
|||
pat_country_code = #{patCountryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patCountryDesc != null"> |
|||
pat_country_desc = #{patCountryDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patMotherId != null"> |
|||
pat_mother_id = #{patMotherId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patDeceasedDate != null"> |
|||
pat_deceased_date = #{patDeceasedDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="patDeceasedTime != null"> |
|||
pat_deceased_time = #{patDeceasedTime,jdbcType=TIME}, |
|||
</if> |
|||
<if test="patTelephone != null"> |
|||
pat_telephone = #{patTelephone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patOccupationCode != null"> |
|||
pat_occupation_code = #{patOccupationCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patOccupationDesc != null"> |
|||
pat_occupation_desc = #{patOccupationDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patWorkPlaceTelNum != null"> |
|||
pat_work_place_tel_num = #{patWorkPlaceTelNum,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patIdentityNum != null"> |
|||
pat_identity_num = #{patIdentityNum,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patIdTypeCode != null"> |
|||
pat_id_type_code = #{patIdTypeCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patIdTypeDesc != null"> |
|||
pat_id_type_desc = #{patIdTypeDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patRelationName != null"> |
|||
pat_relation_name = #{patRelationName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patRelationPhone != null"> |
|||
pat_relation_phone = #{patRelationPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="patRemarks != null"> |
|||
pat_remarks = #{patRemarks,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmVisitNumber != null"> |
|||
paadm_visit_number = #{paadmVisitNumber,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmVisitTimes != null"> |
|||
paadm_visit_times = #{paadmVisitTimes,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="paadmDeptCode != null"> |
|||
paadm_dept_code = #{paadmDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmDeptDesc != null"> |
|||
paadm_dept_desc = #{paadmDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmAdmWardCode != null"> |
|||
paadm_adm_ward_code = #{paadmAdmWardCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmAdmWardDesc != null"> |
|||
paadm_adm_ward_desc = #{paadmAdmWardDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmCurBedNo != null"> |
|||
paadm_cur_bed_no = #{paadmCurBedNo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmDocCode != null"> |
|||
paadm_doc_code = #{paadmDocCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmDocDesc != null"> |
|||
paadm_doc_desc = #{paadmDocDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmStartDate != null"> |
|||
paadm_start_date = #{paadmStartDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="paadmStartTime != null"> |
|||
paadm_start_time = #{paadmStartTime,jdbcType=TIME}, |
|||
</if> |
|||
<if test="paadmCurDeptCode != null"> |
|||
paadm_cur_dept_code = #{paadmCurDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmCurDeptDesc != null"> |
|||
paadm_cur_dept_desc = #{paadmCurDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paAdmStatusCode != null"> |
|||
pa_adm_status_code = #{paAdmStatusCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paAdmStatusDesc != null"> |
|||
pa_adm_status_desc = #{paAdmStatusDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmTypeCode != null"> |
|||
paadm_type_code = #{paadmTypeCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmTypeDesc != null"> |
|||
paadm_type_desc = #{paadmTypeDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmFeeTypeCode != null"> |
|||
paadm_fee_type_code = #{paadmFeeTypeCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paadmFeeTypeDesc != null"> |
|||
paadm_fee_type_desc = #{paadmFeeTypeDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateUserCode != null"> |
|||
update_user_code = #{updateUserCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateUserDesc != null"> |
|||
update_user_desc = #{updateUserDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateDate != null"> |
|||
update_date = #{updateDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIME}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.ccsens.system.domain.po.DmsApplication"> |
|||
update dms_application |
|||
set source_system = #{sourceSystem,jdbcType=VARCHAR}, |
|||
message_id = #{messageId,jdbcType=VARCHAR}, |
|||
hospital_code = #{hospitalCode,jdbcType=VARCHAR}, |
|||
pat_patient_id = #{patPatientId,jdbcType=VARCHAR}, |
|||
pat_document_no = #{patDocumentNo,jdbcType=VARCHAR}, |
|||
pat_health_card_id = #{patHealthCardId,jdbcType=VARCHAR}, |
|||
pat_name = #{patName,jdbcType=VARCHAR}, |
|||
pat_dob = #{patDob,jdbcType=TIMESTAMP}, |
|||
pat_sex_code = #{patSexCode,jdbcType=VARCHAR}, |
|||
pat_sex_desc = #{patSexDesc,jdbcType=VARCHAR}, |
|||
pat_marital_status_code = #{patMaritalStatusCode,jdbcType=VARCHAR}, |
|||
pat_marital_status_desc = #{patMaritalStatusDesc,jdbcType=VARCHAR}, |
|||
pat_nation_code = #{patNationCode,jdbcType=VARCHAR}, |
|||
pat_nation_desc = #{patNationDesc,jdbcType=VARCHAR}, |
|||
pat_country_code = #{patCountryCode,jdbcType=VARCHAR}, |
|||
pat_country_desc = #{patCountryDesc,jdbcType=VARCHAR}, |
|||
pat_mother_id = #{patMotherId,jdbcType=VARCHAR}, |
|||
pat_deceased_date = #{patDeceasedDate,jdbcType=DATE}, |
|||
pat_deceased_time = #{patDeceasedTime,jdbcType=TIME}, |
|||
pat_telephone = #{patTelephone,jdbcType=VARCHAR}, |
|||
pat_occupation_code = #{patOccupationCode,jdbcType=VARCHAR}, |
|||
pat_occupation_desc = #{patOccupationDesc,jdbcType=VARCHAR}, |
|||
pat_work_place_tel_num = #{patWorkPlaceTelNum,jdbcType=VARCHAR}, |
|||
pat_identity_num = #{patIdentityNum,jdbcType=VARCHAR}, |
|||
pat_id_type_code = #{patIdTypeCode,jdbcType=VARCHAR}, |
|||
pat_id_type_desc = #{patIdTypeDesc,jdbcType=VARCHAR}, |
|||
pat_relation_name = #{patRelationName,jdbcType=VARCHAR}, |
|||
pat_relation_phone = #{patRelationPhone,jdbcType=VARCHAR}, |
|||
pat_remarks = #{patRemarks,jdbcType=VARCHAR}, |
|||
paadm_visit_number = #{paadmVisitNumber,jdbcType=VARCHAR}, |
|||
paadm_visit_times = #{paadmVisitTimes,jdbcType=INTEGER}, |
|||
paadm_dept_code = #{paadmDeptCode,jdbcType=VARCHAR}, |
|||
paadm_dept_desc = #{paadmDeptDesc,jdbcType=VARCHAR}, |
|||
paadm_adm_ward_code = #{paadmAdmWardCode,jdbcType=VARCHAR}, |
|||
paadm_adm_ward_desc = #{paadmAdmWardDesc,jdbcType=VARCHAR}, |
|||
paadm_cur_bed_no = #{paadmCurBedNo,jdbcType=VARCHAR}, |
|||
paadm_doc_code = #{paadmDocCode,jdbcType=VARCHAR}, |
|||
paadm_doc_desc = #{paadmDocDesc,jdbcType=VARCHAR}, |
|||
paadm_start_date = #{paadmStartDate,jdbcType=DATE}, |
|||
paadm_start_time = #{paadmStartTime,jdbcType=TIME}, |
|||
paadm_cur_dept_code = #{paadmCurDeptCode,jdbcType=VARCHAR}, |
|||
paadm_cur_dept_desc = #{paadmCurDeptDesc,jdbcType=VARCHAR}, |
|||
pa_adm_status_code = #{paAdmStatusCode,jdbcType=VARCHAR}, |
|||
pa_adm_status_desc = #{paAdmStatusDesc,jdbcType=VARCHAR}, |
|||
paadm_type_code = #{paadmTypeCode,jdbcType=VARCHAR}, |
|||
paadm_type_desc = #{paadmTypeDesc,jdbcType=VARCHAR}, |
|||
paadm_fee_type_code = #{paadmFeeTypeCode,jdbcType=VARCHAR}, |
|||
paadm_fee_type_desc = #{paadmFeeTypeDesc,jdbcType=VARCHAR}, |
|||
update_user_code = #{updateUserCode,jdbcType=VARCHAR}, |
|||
update_user_desc = #{updateUserDesc,jdbcType=VARCHAR}, |
|||
update_date = #{updateDate,jdbcType=DATE}, |
|||
update_time = #{updateTime,jdbcType=TIME}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,577 @@ |
|||
<?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.ccsens.system.persist.mapper.DmsApplicationOrderMapper"> |
|||
<resultMap id="BaseResultMap" type="com.ccsens.system.domain.po.DmsApplicationOrder"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="message_id" jdbcType="VARCHAR" property="messageId" /> |
|||
<result column="risr_exam_id" jdbcType="VARCHAR" property="risrExamId" /> |
|||
<result column="risr_app_num" jdbcType="VARCHAR" property="risrAppNum" /> |
|||
<result column="risr_matters_attention" jdbcType="VARCHAR" property="risrMattersAttention" /> |
|||
<result column="risr_specal_medical_record" jdbcType="VARCHAR" property="risrSpecalMedicalRecord" /> |
|||
<result column="app_dept_code" jdbcType="VARCHAR" property="appDeptCode" /> |
|||
<result column="app_dept_desc" jdbcType="VARCHAR" property="appDeptDesc" /> |
|||
<result column="risr_submit_doc_code" jdbcType="VARCHAR" property="risrSubmitDocCode" /> |
|||
<result column="risr_submit_doc_desc" jdbcType="VARCHAR" property="risrSubmitDocDesc" /> |
|||
<result column="risr_submit_time" jdbcType="TIMESTAMP" property="risrSubmitTime" /> |
|||
<result column="risr_accept_dept_code" jdbcType="VARCHAR" property="risrAcceptDeptCode" /> |
|||
<result column="risr_accept_dept_desc" jdbcType="VARCHAR" property="risrAcceptDeptDesc" /> |
|||
<result column="risr_dept_location" jdbcType="VARCHAR" property="risrDeptLocation" /> |
|||
<result column="risr_is_emergency" jdbcType="TINYINT" property="risrIsEmergency" /> |
|||
<result column="risr_clinical_symptoms" jdbcType="VARCHAR" property="risrClinicalSymptoms" /> |
|||
<result column="oeori_order_item_id" jdbcType="VARCHAR" property="oeoriOrderItemId" /> |
|||
<result column="risr_position_code" jdbcType="VARCHAR" property="risrPositionCode" /> |
|||
<result column="risr_posture_code" jdbcType="VARCHAR" property="risrPostureCode" /> |
|||
<result column="risr_code" jdbcType="VARCHAR" property="risrCode" /> |
|||
<result column="risr_desc" jdbcType="VARCHAR" property="risrDesc" /> |
|||
<result column="risr_price" jdbcType="VARCHAR" property="risrPrice" /> |
|||
<result column="ord_sub_cat_code" jdbcType="VARCHAR" property="ordSubCatCode" /> |
|||
<result column="ord_sub_cat_desc" jdbcType="VARCHAR" property="ordSubCatDesc" /> |
|||
<result column="ord_cat_code" jdbcType="VARCHAR" property="ordCatCode" /> |
|||
<result column="ord_cat_desc" jdbcType="VARCHAR" property="ordCatDesc" /> |
|||
<result column="ord_bill_status" jdbcType="VARCHAR" property="ordBillStatus" /> |
|||
<result column="send_flag" jdbcType="VARCHAR" property="sendFlag" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, message_id, risr_exam_id, risr_app_num, risr_matters_attention, risr_specal_medical_record, |
|||
app_dept_code, app_dept_desc, risr_submit_doc_code, risr_submit_doc_desc, risr_submit_time, |
|||
risr_accept_dept_code, risr_accept_dept_desc, risr_dept_location, risr_is_emergency, |
|||
risr_clinical_symptoms, oeori_order_item_id, risr_position_code, risr_posture_code, |
|||
risr_code, risr_desc, risr_price, ord_sub_cat_code, ord_sub_cat_desc, ord_cat_code, |
|||
ord_cat_desc, ord_bill_status, send_flag |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.ccsens.system.domain.po.DmsApplicationOrderExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from dms_application_order |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from dms_application_order |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from dms_application_order |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<delete id="deleteByExample" parameterType="com.ccsens.system.domain.po.DmsApplicationOrderExample"> |
|||
delete from dms_application_order |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</delete> |
|||
<insert id="insert" parameterType="com.ccsens.system.domain.po.DmsApplicationOrder"> |
|||
insert into dms_application_order (id, message_id, risr_exam_id, |
|||
risr_app_num, risr_matters_attention, risr_specal_medical_record, |
|||
app_dept_code, app_dept_desc, risr_submit_doc_code, |
|||
risr_submit_doc_desc, risr_submit_time, risr_accept_dept_code, |
|||
risr_accept_dept_desc, risr_dept_location, risr_is_emergency, |
|||
risr_clinical_symptoms, oeori_order_item_id, |
|||
risr_position_code, risr_posture_code, risr_code, |
|||
risr_desc, risr_price, ord_sub_cat_code, |
|||
ord_sub_cat_desc, ord_cat_code, ord_cat_desc, |
|||
ord_bill_status, send_flag) |
|||
values (#{id,jdbcType=BIGINT}, #{messageId,jdbcType=VARCHAR}, #{risrExamId,jdbcType=VARCHAR}, |
|||
#{risrAppNum,jdbcType=VARCHAR}, #{risrMattersAttention,jdbcType=VARCHAR}, #{risrSpecalMedicalRecord,jdbcType=VARCHAR}, |
|||
#{appDeptCode,jdbcType=VARCHAR}, #{appDeptDesc,jdbcType=VARCHAR}, #{risrSubmitDocCode,jdbcType=VARCHAR}, |
|||
#{risrSubmitDocDesc,jdbcType=VARCHAR}, #{risrSubmitTime,jdbcType=TIMESTAMP}, #{risrAcceptDeptCode,jdbcType=VARCHAR}, |
|||
#{risrAcceptDeptDesc,jdbcType=VARCHAR}, #{risrDeptLocation,jdbcType=VARCHAR}, #{risrIsEmergency,jdbcType=TINYINT}, |
|||
#{risrClinicalSymptoms,jdbcType=VARCHAR}, #{oeoriOrderItemId,jdbcType=VARCHAR}, |
|||
#{risrPositionCode,jdbcType=VARCHAR}, #{risrPostureCode,jdbcType=VARCHAR}, #{risrCode,jdbcType=VARCHAR}, |
|||
#{risrDesc,jdbcType=VARCHAR}, #{risrPrice,jdbcType=VARCHAR}, #{ordSubCatCode,jdbcType=VARCHAR}, |
|||
#{ordSubCatDesc,jdbcType=VARCHAR}, #{ordCatCode,jdbcType=VARCHAR}, #{ordCatDesc,jdbcType=VARCHAR}, |
|||
#{ordBillStatus,jdbcType=VARCHAR}, #{sendFlag,jdbcType=VARCHAR}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.ccsens.system.domain.po.DmsApplicationOrder"> |
|||
insert into dms_application_order |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="messageId != null"> |
|||
message_id, |
|||
</if> |
|||
<if test="risrExamId != null"> |
|||
risr_exam_id, |
|||
</if> |
|||
<if test="risrAppNum != null"> |
|||
risr_app_num, |
|||
</if> |
|||
<if test="risrMattersAttention != null"> |
|||
risr_matters_attention, |
|||
</if> |
|||
<if test="risrSpecalMedicalRecord != null"> |
|||
risr_specal_medical_record, |
|||
</if> |
|||
<if test="appDeptCode != null"> |
|||
app_dept_code, |
|||
</if> |
|||
<if test="appDeptDesc != null"> |
|||
app_dept_desc, |
|||
</if> |
|||
<if test="risrSubmitDocCode != null"> |
|||
risr_submit_doc_code, |
|||
</if> |
|||
<if test="risrSubmitDocDesc != null"> |
|||
risr_submit_doc_desc, |
|||
</if> |
|||
<if test="risrSubmitTime != null"> |
|||
risr_submit_time, |
|||
</if> |
|||
<if test="risrAcceptDeptCode != null"> |
|||
risr_accept_dept_code, |
|||
</if> |
|||
<if test="risrAcceptDeptDesc != null"> |
|||
risr_accept_dept_desc, |
|||
</if> |
|||
<if test="risrDeptLocation != null"> |
|||
risr_dept_location, |
|||
</if> |
|||
<if test="risrIsEmergency != null"> |
|||
risr_is_emergency, |
|||
</if> |
|||
<if test="risrClinicalSymptoms != null"> |
|||
risr_clinical_symptoms, |
|||
</if> |
|||
<if test="oeoriOrderItemId != null"> |
|||
oeori_order_item_id, |
|||
</if> |
|||
<if test="risrPositionCode != null"> |
|||
risr_position_code, |
|||
</if> |
|||
<if test="risrPostureCode != null"> |
|||
risr_posture_code, |
|||
</if> |
|||
<if test="risrCode != null"> |
|||
risr_code, |
|||
</if> |
|||
<if test="risrDesc != null"> |
|||
risr_desc, |
|||
</if> |
|||
<if test="risrPrice != null"> |
|||
risr_price, |
|||
</if> |
|||
<if test="ordSubCatCode != null"> |
|||
ord_sub_cat_code, |
|||
</if> |
|||
<if test="ordSubCatDesc != null"> |
|||
ord_sub_cat_desc, |
|||
</if> |
|||
<if test="ordCatCode != null"> |
|||
ord_cat_code, |
|||
</if> |
|||
<if test="ordCatDesc != null"> |
|||
ord_cat_desc, |
|||
</if> |
|||
<if test="ordBillStatus != null"> |
|||
ord_bill_status, |
|||
</if> |
|||
<if test="sendFlag != null"> |
|||
send_flag, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="messageId != null"> |
|||
#{messageId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrExamId != null"> |
|||
#{risrExamId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrAppNum != null"> |
|||
#{risrAppNum,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrMattersAttention != null"> |
|||
#{risrMattersAttention,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrSpecalMedicalRecord != null"> |
|||
#{risrSpecalMedicalRecord,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="appDeptCode != null"> |
|||
#{appDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="appDeptDesc != null"> |
|||
#{appDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrSubmitDocCode != null"> |
|||
#{risrSubmitDocCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrSubmitDocDesc != null"> |
|||
#{risrSubmitDocDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrSubmitTime != null"> |
|||
#{risrSubmitTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="risrAcceptDeptCode != null"> |
|||
#{risrAcceptDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrAcceptDeptDesc != null"> |
|||
#{risrAcceptDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrDeptLocation != null"> |
|||
#{risrDeptLocation,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrIsEmergency != null"> |
|||
#{risrIsEmergency,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="risrClinicalSymptoms != null"> |
|||
#{risrClinicalSymptoms,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="oeoriOrderItemId != null"> |
|||
#{oeoriOrderItemId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrPositionCode != null"> |
|||
#{risrPositionCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrPostureCode != null"> |
|||
#{risrPostureCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrCode != null"> |
|||
#{risrCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrDesc != null"> |
|||
#{risrDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrPrice != null"> |
|||
#{risrPrice,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordSubCatCode != null"> |
|||
#{ordSubCatCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordSubCatDesc != null"> |
|||
#{ordSubCatDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordCatCode != null"> |
|||
#{ordCatCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordCatDesc != null"> |
|||
#{ordCatDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordBillStatus != null"> |
|||
#{ordBillStatus,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sendFlag != null"> |
|||
#{sendFlag,jdbcType=VARCHAR}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.ccsens.system.domain.po.DmsApplicationOrderExample" resultType="java.lang.Long"> |
|||
select count(*) from dms_application_order |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update dms_application_order |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.messageId != null"> |
|||
message_id = #{record.messageId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrExamId != null"> |
|||
risr_exam_id = #{record.risrExamId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrAppNum != null"> |
|||
risr_app_num = #{record.risrAppNum,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrMattersAttention != null"> |
|||
risr_matters_attention = #{record.risrMattersAttention,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrSpecalMedicalRecord != null"> |
|||
risr_specal_medical_record = #{record.risrSpecalMedicalRecord,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.appDeptCode != null"> |
|||
app_dept_code = #{record.appDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.appDeptDesc != null"> |
|||
app_dept_desc = #{record.appDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrSubmitDocCode != null"> |
|||
risr_submit_doc_code = #{record.risrSubmitDocCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrSubmitDocDesc != null"> |
|||
risr_submit_doc_desc = #{record.risrSubmitDocDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrSubmitTime != null"> |
|||
risr_submit_time = #{record.risrSubmitTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.risrAcceptDeptCode != null"> |
|||
risr_accept_dept_code = #{record.risrAcceptDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrAcceptDeptDesc != null"> |
|||
risr_accept_dept_desc = #{record.risrAcceptDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrDeptLocation != null"> |
|||
risr_dept_location = #{record.risrDeptLocation,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrIsEmergency != null"> |
|||
risr_is_emergency = #{record.risrIsEmergency,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.risrClinicalSymptoms != null"> |
|||
risr_clinical_symptoms = #{record.risrClinicalSymptoms,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.oeoriOrderItemId != null"> |
|||
oeori_order_item_id = #{record.oeoriOrderItemId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrPositionCode != null"> |
|||
risr_position_code = #{record.risrPositionCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrPostureCode != null"> |
|||
risr_posture_code = #{record.risrPostureCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrCode != null"> |
|||
risr_code = #{record.risrCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrDesc != null"> |
|||
risr_desc = #{record.risrDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.risrPrice != null"> |
|||
risr_price = #{record.risrPrice,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.ordSubCatCode != null"> |
|||
ord_sub_cat_code = #{record.ordSubCatCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.ordSubCatDesc != null"> |
|||
ord_sub_cat_desc = #{record.ordSubCatDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.ordCatCode != null"> |
|||
ord_cat_code = #{record.ordCatCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.ordCatDesc != null"> |
|||
ord_cat_desc = #{record.ordCatDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.ordBillStatus != null"> |
|||
ord_bill_status = #{record.ordBillStatus,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.sendFlag != null"> |
|||
send_flag = #{record.sendFlag,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update dms_application_order |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
message_id = #{record.messageId,jdbcType=VARCHAR}, |
|||
risr_exam_id = #{record.risrExamId,jdbcType=VARCHAR}, |
|||
risr_app_num = #{record.risrAppNum,jdbcType=VARCHAR}, |
|||
risr_matters_attention = #{record.risrMattersAttention,jdbcType=VARCHAR}, |
|||
risr_specal_medical_record = #{record.risrSpecalMedicalRecord,jdbcType=VARCHAR}, |
|||
app_dept_code = #{record.appDeptCode,jdbcType=VARCHAR}, |
|||
app_dept_desc = #{record.appDeptDesc,jdbcType=VARCHAR}, |
|||
risr_submit_doc_code = #{record.risrSubmitDocCode,jdbcType=VARCHAR}, |
|||
risr_submit_doc_desc = #{record.risrSubmitDocDesc,jdbcType=VARCHAR}, |
|||
risr_submit_time = #{record.risrSubmitTime,jdbcType=TIMESTAMP}, |
|||
risr_accept_dept_code = #{record.risrAcceptDeptCode,jdbcType=VARCHAR}, |
|||
risr_accept_dept_desc = #{record.risrAcceptDeptDesc,jdbcType=VARCHAR}, |
|||
risr_dept_location = #{record.risrDeptLocation,jdbcType=VARCHAR}, |
|||
risr_is_emergency = #{record.risrIsEmergency,jdbcType=TINYINT}, |
|||
risr_clinical_symptoms = #{record.risrClinicalSymptoms,jdbcType=VARCHAR}, |
|||
oeori_order_item_id = #{record.oeoriOrderItemId,jdbcType=VARCHAR}, |
|||
risr_position_code = #{record.risrPositionCode,jdbcType=VARCHAR}, |
|||
risr_posture_code = #{record.risrPostureCode,jdbcType=VARCHAR}, |
|||
risr_code = #{record.risrCode,jdbcType=VARCHAR}, |
|||
risr_desc = #{record.risrDesc,jdbcType=VARCHAR}, |
|||
risr_price = #{record.risrPrice,jdbcType=VARCHAR}, |
|||
ord_sub_cat_code = #{record.ordSubCatCode,jdbcType=VARCHAR}, |
|||
ord_sub_cat_desc = #{record.ordSubCatDesc,jdbcType=VARCHAR}, |
|||
ord_cat_code = #{record.ordCatCode,jdbcType=VARCHAR}, |
|||
ord_cat_desc = #{record.ordCatDesc,jdbcType=VARCHAR}, |
|||
ord_bill_status = #{record.ordBillStatus,jdbcType=VARCHAR}, |
|||
send_flag = #{record.sendFlag,jdbcType=VARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.system.domain.po.DmsApplicationOrder"> |
|||
update dms_application_order |
|||
<set> |
|||
<if test="messageId != null"> |
|||
message_id = #{messageId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrExamId != null"> |
|||
risr_exam_id = #{risrExamId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrAppNum != null"> |
|||
risr_app_num = #{risrAppNum,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrMattersAttention != null"> |
|||
risr_matters_attention = #{risrMattersAttention,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrSpecalMedicalRecord != null"> |
|||
risr_specal_medical_record = #{risrSpecalMedicalRecord,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="appDeptCode != null"> |
|||
app_dept_code = #{appDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="appDeptDesc != null"> |
|||
app_dept_desc = #{appDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrSubmitDocCode != null"> |
|||
risr_submit_doc_code = #{risrSubmitDocCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrSubmitDocDesc != null"> |
|||
risr_submit_doc_desc = #{risrSubmitDocDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrSubmitTime != null"> |
|||
risr_submit_time = #{risrSubmitTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="risrAcceptDeptCode != null"> |
|||
risr_accept_dept_code = #{risrAcceptDeptCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrAcceptDeptDesc != null"> |
|||
risr_accept_dept_desc = #{risrAcceptDeptDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrDeptLocation != null"> |
|||
risr_dept_location = #{risrDeptLocation,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrIsEmergency != null"> |
|||
risr_is_emergency = #{risrIsEmergency,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="risrClinicalSymptoms != null"> |
|||
risr_clinical_symptoms = #{risrClinicalSymptoms,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="oeoriOrderItemId != null"> |
|||
oeori_order_item_id = #{oeoriOrderItemId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrPositionCode != null"> |
|||
risr_position_code = #{risrPositionCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrPostureCode != null"> |
|||
risr_posture_code = #{risrPostureCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrCode != null"> |
|||
risr_code = #{risrCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrDesc != null"> |
|||
risr_desc = #{risrDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="risrPrice != null"> |
|||
risr_price = #{risrPrice,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordSubCatCode != null"> |
|||
ord_sub_cat_code = #{ordSubCatCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordSubCatDesc != null"> |
|||
ord_sub_cat_desc = #{ordSubCatDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordCatCode != null"> |
|||
ord_cat_code = #{ordCatCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordCatDesc != null"> |
|||
ord_cat_desc = #{ordCatDesc,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ordBillStatus != null"> |
|||
ord_bill_status = #{ordBillStatus,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sendFlag != null"> |
|||
send_flag = #{sendFlag,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.ccsens.system.domain.po.DmsApplicationOrder"> |
|||
update dms_application_order |
|||
set message_id = #{messageId,jdbcType=VARCHAR}, |
|||
risr_exam_id = #{risrExamId,jdbcType=VARCHAR}, |
|||
risr_app_num = #{risrAppNum,jdbcType=VARCHAR}, |
|||
risr_matters_attention = #{risrMattersAttention,jdbcType=VARCHAR}, |
|||
risr_specal_medical_record = #{risrSpecalMedicalRecord,jdbcType=VARCHAR}, |
|||
app_dept_code = #{appDeptCode,jdbcType=VARCHAR}, |
|||
app_dept_desc = #{appDeptDesc,jdbcType=VARCHAR}, |
|||
risr_submit_doc_code = #{risrSubmitDocCode,jdbcType=VARCHAR}, |
|||
risr_submit_doc_desc = #{risrSubmitDocDesc,jdbcType=VARCHAR}, |
|||
risr_submit_time = #{risrSubmitTime,jdbcType=TIMESTAMP}, |
|||
risr_accept_dept_code = #{risrAcceptDeptCode,jdbcType=VARCHAR}, |
|||
risr_accept_dept_desc = #{risrAcceptDeptDesc,jdbcType=VARCHAR}, |
|||
risr_dept_location = #{risrDeptLocation,jdbcType=VARCHAR}, |
|||
risr_is_emergency = #{risrIsEmergency,jdbcType=TINYINT}, |
|||
risr_clinical_symptoms = #{risrClinicalSymptoms,jdbcType=VARCHAR}, |
|||
oeori_order_item_id = #{oeoriOrderItemId,jdbcType=VARCHAR}, |
|||
risr_position_code = #{risrPositionCode,jdbcType=VARCHAR}, |
|||
risr_posture_code = #{risrPostureCode,jdbcType=VARCHAR}, |
|||
risr_code = #{risrCode,jdbcType=VARCHAR}, |
|||
risr_desc = #{risrDesc,jdbcType=VARCHAR}, |
|||
risr_price = #{risrPrice,jdbcType=VARCHAR}, |
|||
ord_sub_cat_code = #{ordSubCatCode,jdbcType=VARCHAR}, |
|||
ord_sub_cat_desc = #{ordSubCatDesc,jdbcType=VARCHAR}, |
|||
ord_cat_code = #{ordCatCode,jdbcType=VARCHAR}, |
|||
ord_cat_desc = #{ordCatDesc,jdbcType=VARCHAR}, |
|||
ord_bill_status = #{ordBillStatus,jdbcType=VARCHAR}, |
|||
send_flag = #{sendFlag,jdbcType=VARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
Loading…
Reference in new issue