Merge remote-tracking branch 'origin/dev_2.0.0' into dev_2.0.0
commit
6e802fffcf
@ -0,0 +1,18 @@
|
||||
package com.supervision.mapper;
|
||||
|
||||
import com.supervision.model.ProcessMedical;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @author flevance
|
||||
* @description 针对表【vp_process_medical(问诊流程病历)】的数据库操作Mapper
|
||||
* @createDate 2023-11-23 14:32:44
|
||||
* @Entity com.supervision.model.ProcessMedical
|
||||
*/
|
||||
public interface ProcessMedicalMapper extends BaseMapper<ProcessMedical> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,91 @@
|
||||
package com.supervision.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 问诊流程病历
|
||||
* @TableName vp_process_medical
|
||||
*/
|
||||
@TableName(value ="vp_process_medical")
|
||||
@Data
|
||||
public class ProcessMedical implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 病历ID
|
||||
*/
|
||||
private String medicalRecId;
|
||||
|
||||
/**
|
||||
* 病人ID
|
||||
*/
|
||||
private String patientId;
|
||||
|
||||
/**
|
||||
* 疾病id
|
||||
*/
|
||||
private String diseaseId;
|
||||
|
||||
/**
|
||||
* 患者主诉
|
||||
*/
|
||||
private String patientSelfDesc;
|
||||
|
||||
/**
|
||||
* 现病史
|
||||
*/
|
||||
private String illnessHistory;
|
||||
|
||||
/**
|
||||
* 过敏史
|
||||
*/
|
||||
private String allergyHistory;
|
||||
|
||||
/**
|
||||
* 既往史
|
||||
*/
|
||||
private String previousHistory;
|
||||
|
||||
/**
|
||||
* 家族史
|
||||
*/
|
||||
private String familyHistory;
|
||||
|
||||
/**
|
||||
* 婚育史
|
||||
*/
|
||||
private String marriageChildHistory;
|
||||
|
||||
/**
|
||||
* 创建人ID
|
||||
*/
|
||||
private String createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@TableField(exist = false)
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.supervision.service;
|
||||
|
||||
import com.supervision.model.ProcessMedical;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @author flevance
|
||||
* @description 针对表【vp_process_medical(问诊流程病历)】的数据库操作Service
|
||||
* @createDate 2023-11-23 14:32:44
|
||||
*/
|
||||
public interface ProcessMedicalService extends IService<ProcessMedical> {
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.supervision.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.supervision.model.ProcessMedical;
|
||||
import com.supervision.service.ProcessMedicalService;
|
||||
import com.supervision.mapper.ProcessMedicalMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @author flevance
|
||||
* @description 针对表【vp_process_medical(问诊流程病历)】的数据库操作Service实现
|
||||
* @createDate 2023-11-23 14:32:44
|
||||
*/
|
||||
@Service
|
||||
public class ProcessMedicalServiceImpl extends ServiceImpl<ProcessMedicalMapper, ProcessMedical>
|
||||
implements ProcessMedicalService{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,31 @@
|
||||
<?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.supervision.mapper.ProcessMedicalMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.supervision.model.ProcessMedical">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="medicalRecId" column="medical_rec_id" jdbcType="VARCHAR"/>
|
||||
<result property="patientId" column="patient_id" jdbcType="VARCHAR"/>
|
||||
<result property="diseaseId" column="disease_id" jdbcType="VARCHAR"/>
|
||||
<result property="patientSelfDesc" column="patient_self_desc" jdbcType="VARCHAR"/>
|
||||
<result property="illnessHistory" column="illness_history" jdbcType="VARCHAR"/>
|
||||
<result property="allergyHistory" column="allergy_history" jdbcType="VARCHAR"/>
|
||||
<result property="previousHistory" column="previous_history" jdbcType="VARCHAR"/>
|
||||
<result property="familyHistory" column="family_history" jdbcType="VARCHAR"/>
|
||||
<result property="marriageChildHistory" column="marriage_child_history" jdbcType="VARCHAR"/>
|
||||
<result property="createUserId" column="create_user_id" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateUserId" column="update_user_id" jdbcType="VARCHAR"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,medical_rec_id,patient_id,
|
||||
disease_id,patient_self_desc,illness_history,
|
||||
allergy_history,previous_history,family_history,
|
||||
marriage_child_history,create_user_id,create_time,
|
||||
update_user_id,update_time
|
||||
</sql>
|
||||
</mapper>
|
Loading…
Reference in New Issue