修改表结构
parent
f27ef0e6da
commit
6e15cbe3ba
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.mapper;
|
||||||
|
|
||||||
|
import com.supervision.model.CommonDic;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_common_dic(通用字典表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-11-23 10:52:22
|
||||||
|
* @Entity com.supervision.model.CommonDic
|
||||||
|
*/
|
||||||
|
public interface CommonDicMapper extends BaseMapper<CommonDic> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.mapper;
|
||||||
|
|
||||||
|
import com.supervision.model.DefaultItemIndicator;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_default_item_indicator(身体检查默认指标表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-11-23 10:13:01
|
||||||
|
* @Entity com.supervision.model.DefaultItemIndicator
|
||||||
|
*/
|
||||||
|
public interface DefaultItemIndicatorMapper extends BaseMapper<DefaultItemIndicator> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.mapper;
|
||||||
|
|
||||||
|
import com.supervision.model.ProcessEvaluation;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_process_evaluation(考核评估)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-11-23 10:50:14
|
||||||
|
* @Entity com.supervision.model.ProcessEvaluation
|
||||||
|
*/
|
||||||
|
public interface ProcessEvaluationMapper extends BaseMapper<ProcessEvaluation> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.mapper;
|
||||||
|
|
||||||
|
import com.supervision.model.TreatmentPlan;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_treatment_plan(处置计划表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-11-23 10:24:03
|
||||||
|
* @Entity com.supervision.model.TreatmentPlan
|
||||||
|
*/
|
||||||
|
public interface TreatmentPlanMapper extends BaseMapper<TreatmentPlan> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.supervision.mapper;
|
||||||
|
|
||||||
|
import com.supervision.model.DiseaseTreatmentRelation;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_disease_treatmen_relation(疾病处置计划关联表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-11-23 10:43:28
|
||||||
|
* @Entity com.supervision.model.VpDiseaseTreatmenRelation
|
||||||
|
*/
|
||||||
|
public interface VpDiseaseTreatmenRelationMapper extends BaseMapper<DiseaseTreatmentRelation> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,81 @@
|
|||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通用字典表
|
||||||
|
* @TableName vp_common_dic
|
||||||
|
*/
|
||||||
|
@TableName(value ="vp_common_dic")
|
||||||
|
@Data
|
||||||
|
public class CommonDic implements Serializable {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字段码值
|
||||||
|
*/
|
||||||
|
private String code;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 中文名
|
||||||
|
*/
|
||||||
|
private String nameCh;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 英文名
|
||||||
|
*/
|
||||||
|
private String nameEn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分组code
|
||||||
|
*/
|
||||||
|
private String groupCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 父级id
|
||||||
|
*/
|
||||||
|
private String parentId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 优先级,用来做排序等操作
|
||||||
|
*/
|
||||||
|
private Integer priority;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 说明
|
||||||
|
*/
|
||||||
|
private String description;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,67 @@
|
|||||||
|
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_default_item_indicator
|
||||||
|
*/
|
||||||
|
@TableName(value ="vp_default_item_indicator")
|
||||||
|
@Data
|
||||||
|
public class DefaultItemIndicator implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工具id或项目id
|
||||||
|
*/
|
||||||
|
private String itemId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 位置id
|
||||||
|
*/
|
||||||
|
private Integer locationId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 性别 女/男
|
||||||
|
*/
|
||||||
|
private String gender;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 年龄范围
|
||||||
|
*/
|
||||||
|
private String ageRange;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人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,51 @@
|
|||||||
|
package com.supervision.model;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 疾病处置计划关联表
|
||||||
|
* @TableName vp_disease_treatmen_relation
|
||||||
|
*/
|
||||||
|
@TableName(value ="vp_disease_treatment_relation")
|
||||||
|
@Data
|
||||||
|
public class DiseaseTreatmentRelation implements Serializable {
|
||||||
|
/**
|
||||||
|
* 疾病id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String diseaseId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处置计划id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String planId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,86 @@
|
|||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 考核评估
|
||||||
|
* @TableName vp_process_evaluation
|
||||||
|
*/
|
||||||
|
@TableName(value ="vp_process_evaluation")
|
||||||
|
@Data
|
||||||
|
public class ProcessEvaluation implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 流程id
|
||||||
|
*/
|
||||||
|
private String processId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 评分概述
|
||||||
|
*/
|
||||||
|
private String overview;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预期诊断评估
|
||||||
|
*/
|
||||||
|
private String expectDiagnosis;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 初步诊断评估
|
||||||
|
*/
|
||||||
|
private String primarilyDiagnosis;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 证实诊断评估
|
||||||
|
*/
|
||||||
|
private String confirmDiagnosis;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 鉴别依据评估
|
||||||
|
*/
|
||||||
|
private String differentialDiagnosis;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 全面检查评估
|
||||||
|
*/
|
||||||
|
private String fullCheck;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处置方案评估
|
||||||
|
*/
|
||||||
|
private String treatmentPlan;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,76 @@
|
|||||||
|
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.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处置计划表
|
||||||
|
* @TableName vp_treatment_plan
|
||||||
|
*/
|
||||||
|
@TableName(value ="vp_treatment_plan")
|
||||||
|
@Data
|
||||||
|
public class TreatmentPlan implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键id
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处置计划
|
||||||
|
*/
|
||||||
|
private String disposalPlan;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处置方式
|
||||||
|
*/
|
||||||
|
private String disposalMethod;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 一级措施
|
||||||
|
*/
|
||||||
|
private String firstMeasures;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 二级措施
|
||||||
|
*/
|
||||||
|
private String secondMeasures;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 推荐用药
|
||||||
|
*/
|
||||||
|
private Object recommendedMedication;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 说明
|
||||||
|
*/
|
||||||
|
private String description;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人ID
|
||||||
|
*/
|
||||||
|
private String createUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
private String updateUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.service;
|
||||||
|
|
||||||
|
import com.supervision.model.CommonDic;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_common_dic(通用字典表)】的数据库操作Service
|
||||||
|
* @createDate 2023-11-23 10:52:22
|
||||||
|
*/
|
||||||
|
public interface CommonDicService extends IService<CommonDic> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.service;
|
||||||
|
|
||||||
|
import com.supervision.model.DefaultItemIndicator;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_default_item_indicator(身体检查默认指标表)】的数据库操作Service
|
||||||
|
* @createDate 2023-11-23 10:13:01
|
||||||
|
*/
|
||||||
|
public interface DefaultItemIndicatorService extends IService<DefaultItemIndicator> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.service;
|
||||||
|
|
||||||
|
import com.supervision.model.ProcessEvaluation;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_process_evaluation(考核评估)】的数据库操作Service
|
||||||
|
* @createDate 2023-11-23 10:50:14
|
||||||
|
*/
|
||||||
|
public interface ProcessEvaluationService extends IService<ProcessEvaluation> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.service;
|
||||||
|
|
||||||
|
import com.supervision.model.TreatmentPlan;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_treatment_plan(处置计划表)】的数据库操作Service
|
||||||
|
* @createDate 2023-11-23 10:24:03
|
||||||
|
*/
|
||||||
|
public interface TreatmentPlanService extends IService<TreatmentPlan> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.supervision.service;
|
||||||
|
|
||||||
|
import com.supervision.model.DiseaseTreatmentRelation;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_disease_treatmen_relation(疾病处置计划关联表)】的数据库操作Service
|
||||||
|
* @createDate 2023-11-23 10:43:28
|
||||||
|
*/
|
||||||
|
public interface VpDiseaseTreatmenRelationService extends IService<DiseaseTreatmentRelation> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.model.CommonDic;
|
||||||
|
import com.supervision.service.CommonDicService;
|
||||||
|
import com.supervision.mapper.CommonDicMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_common_dic(通用字典表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-11-23 10:52:22
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class CommonDicServiceImpl extends ServiceImpl<CommonDicMapper, CommonDic>
|
||||||
|
implements CommonDicService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.model.DefaultItemIndicator;
|
||||||
|
import com.supervision.service.DefaultItemIndicatorService;
|
||||||
|
import com.supervision.mapper.DefaultItemIndicatorMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_default_item_indicator(身体检查默认指标表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-11-23 10:13:01
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class DefaultItemIndicatorServiceImpl extends ServiceImpl<DefaultItemIndicatorMapper, DefaultItemIndicator>
|
||||||
|
implements DefaultItemIndicatorService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.model.ProcessEvaluation;
|
||||||
|
import com.supervision.service.ProcessEvaluationService;
|
||||||
|
import com.supervision.mapper.ProcessEvaluationMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_process_evaluation(考核评估)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-11-23 10:50:14
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class ProcessEvaluationServiceImpl extends ServiceImpl<ProcessEvaluationMapper, ProcessEvaluation>
|
||||||
|
implements ProcessEvaluationService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.model.TreatmentPlan;
|
||||||
|
import com.supervision.service.TreatmentPlanService;
|
||||||
|
import com.supervision.mapper.TreatmentPlanMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_treatment_plan(处置计划表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-11-23 10:24:03
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class TreatmentPlanServiceImpl extends ServiceImpl<TreatmentPlanMapper, TreatmentPlan>
|
||||||
|
implements TreatmentPlanService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.supervision.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.supervision.model.DiseaseTreatmentRelation;
|
||||||
|
import com.supervision.service.VpDiseaseTreatmenRelationService;
|
||||||
|
import com.supervision.mapper.VpDiseaseTreatmenRelationMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Administrator
|
||||||
|
* @description 针对表【vp_disease_treatmen_relation(疾病处置计划关联表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-11-23 10:43:28
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class VpDiseaseTreatmenRelationServiceImpl extends ServiceImpl<VpDiseaseTreatmenRelationMapper, DiseaseTreatmentRelation>
|
||||||
|
implements VpDiseaseTreatmenRelationService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,28 @@
|
|||||||
|
<?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.CommonDicMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.model.CommonDic">
|
||||||
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||||
|
<result property="code" column="code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="nameCh" column="name_ch" jdbcType="VARCHAR"/>
|
||||||
|
<result property="nameEn" column="name_en" jdbcType="VARCHAR"/>
|
||||||
|
<result property="groupCode" column="group_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="parentId" column="parent_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="priority" column="priority" jdbcType="INTEGER"/>
|
||||||
|
<result property="description" column="description" 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,code,name_ch,
|
||||||
|
name_en,group_code,parent_id,
|
||||||
|
priority,description,create_user_id,
|
||||||
|
create_time,update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,27 @@
|
|||||||
|
<?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.DefaultItemIndicatorMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.model.DefaultItemIndicator">
|
||||||
|
<result property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="itemId" column="item_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="locationId" column="location_id" jdbcType="INTEGER"/>
|
||||||
|
<result property="gender" column="gender" jdbcType="VARCHAR"/>
|
||||||
|
<result property="ageRange" column="age_range" 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,item_id,location_id,
|
||||||
|
gender,age_range,
|
||||||
|
create_time,update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</mapper>
|
@ -0,0 +1,30 @@
|
|||||||
|
<?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.ProcessEvaluationMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.model.ProcessEvaluation">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="processId" column="process_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="overview" column="overview" jdbcType="VARCHAR"/>
|
||||||
|
<result property="expectDiagnosis" column="expect_diagnosis" jdbcType="VARCHAR"/>
|
||||||
|
<result property="primarilyDiagnosis" column="primarily_diagnosis" jdbcType="VARCHAR"/>
|
||||||
|
<result property="confirmDiagnosis" column="confirm_diagnosis" jdbcType="VARCHAR"/>
|
||||||
|
<result property="differentialDiagnosis" column="differential_diagnosis" jdbcType="VARCHAR"/>
|
||||||
|
<result property="fullCheck" column="full_check" jdbcType="VARCHAR"/>
|
||||||
|
<result property="treatmentPlan" column="treatment_plan" 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,process_id,overview,
|
||||||
|
expect_diagnosis,primarily_diagnosis,confirm_diagnosis,
|
||||||
|
differential_diagnosis,full_check,treatment_plan,
|
||||||
|
create_user_id,create_time,update_user_id,
|
||||||
|
update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,27 @@
|
|||||||
|
<?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.TreatmentPlanMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.model.TreatmentPlan">
|
||||||
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="disposalPlan" column="disposal_plan" jdbcType="VARCHAR"/>
|
||||||
|
<result property="disposalMethod" column="disposal_method" jdbcType="VARCHAR"/>
|
||||||
|
<result property="firstMeasures" column="first_measures" jdbcType="VARCHAR"/>
|
||||||
|
<result property="secondMeasures" column="second_measures" jdbcType="VARCHAR"/>
|
||||||
|
<result property="recommendedMedication" column="recommended_medication" jdbcType="OTHER"/>
|
||||||
|
<result property="description" column="description" 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,disposal_plan,disposal_method,
|
||||||
|
first_measures,second_measures,recommended_medication,
|
||||||
|
description,create_user_id,create_time,
|
||||||
|
update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
@ -0,0 +1,20 @@
|
|||||||
|
<?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.VpDiseaseTreatmenRelationMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.supervision.model.DiseaseTreatmentRelation">
|
||||||
|
<id property="diseaseId" column="disease_id" jdbcType="VARCHAR"/>
|
||||||
|
<id property="planId" column="plan_id" 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">
|
||||||
|
disease_id,plan_id,create_user_id,
|
||||||
|
create_time,update_user_id,update_time
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue