瀏覽代碼

质控核查迭代相关代码提交

songxinlu 3 年之前
父節點
當前提交
c04d8e67bd
共有 25 個文件被更改,包括 1496 次插入0 次删除
  1. 118 0
      doc/049.20220518v2.8.0_通用版_质控核查迭代/qc_init_v2.8.0_通用版_质控核查迭代.sql
  2. 328 0
      src/main/java/com/diagbot/entity/CheckDistributionScheme.java
  3. 185 0
      src/main/java/com/diagbot/entity/CheckDistributionSchemePerson.java
  4. 263 0
      src/main/java/com/diagbot/entity/CheckRecord.java
  5. 211 0
      src/main/java/com/diagbot/entity/CheckRecordExamine.java
  6. 16 0
      src/main/java/com/diagbot/mapper/CheckDistributionSchemeMapper.java
  7. 16 0
      src/main/java/com/diagbot/mapper/CheckDistributionSchemePersonMapper.java
  8. 16 0
      src/main/java/com/diagbot/mapper/CheckRecordExamineMapper.java
  9. 16 0
      src/main/java/com/diagbot/mapper/CheckRecordMapper.java
  10. 16 0
      src/main/java/com/diagbot/service/CheckDistributionSchemePersonService.java
  11. 16 0
      src/main/java/com/diagbot/service/CheckDistributionSchemeService.java
  12. 16 0
      src/main/java/com/diagbot/service/CheckRecordExamineService.java
  13. 16 0
      src/main/java/com/diagbot/service/CheckRecordService.java
  14. 20 0
      src/main/java/com/diagbot/service/impl/CheckDistributionSchemePersonServiceImpl.java
  15. 20 0
      src/main/java/com/diagbot/service/impl/CheckDistributionSchemeServiceImpl.java
  16. 20 0
      src/main/java/com/diagbot/service/impl/CheckRecordExamineServiceImpl.java
  17. 20 0
      src/main/java/com/diagbot/service/impl/CheckRecordServiceImpl.java
  18. 20 0
      src/main/java/com/diagbot/web/CheckDistributionSchemeController.java
  19. 20 0
      src/main/java/com/diagbot/web/CheckDistributionSchemePersonController.java
  20. 20 0
      src/main/java/com/diagbot/web/CheckRecordController.java
  21. 20 0
      src/main/java/com/diagbot/web/CheckRecordExamineController.java
  22. 32 0
      src/main/resources/mapper/CheckDistributionSchemeMapper.xml
  23. 21 0
      src/main/resources/mapper/CheckDistributionSchemePersonMapper.xml
  24. 23 0
      src/main/resources/mapper/CheckRecordExamineMapper.xml
  25. 27 0
      src/main/resources/mapper/CheckRecordMapper.xml

+ 118 - 0
doc/049.20220518v2.8.0_通用版_质控核查迭代/qc_init_v2.8.0_通用版_质控核查迭代.sql

@@ -0,0 +1,118 @@
+use `qc`;
+
+SET FOREIGN_KEY_CHECKS=0;
+
+-- ----------------------------
+-- Table structure for med_check_distribution_scheme
+-- ----------------------------
+DROP TABLE IF EXISTS `med_check_distribution_scheme`;
+CREATE TABLE `med_check_distribution_scheme` (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `hospital_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '医院ID',
+  `dept_ids` varchar(1024) DEFAULT NULL COMMENT '住院科室ID集合(多个用逗号隔开)',
+  `dept_names` varchar(1024) DEFAULT NULL COMMENT '住院科室名称集合(多个用逗号隔开)',
+  `scheme_name` varchar(60) NOT NULL COMMENT '方案名称',
+  `stage` char(3) NOT NULL DEFAULT '0' COMMENT '核查病历阶段(运行病历(未出院):0、  运行病历(已出院):1、 终末病历:2)',
+  `in_time_frame` int(8) DEFAULT NULL COMMENT '入院日期-近多少天',
+  `out_time_frame` int(8) DEFAULT NULL COMMENT '出院日期-近多少天',
+  `level` varchar(32) DEFAULT NULL COMMENT '病历等级',
+  `behospital_type` varchar(32) DEFAULT NULL COMMENT '病历类型(普通病人、手术病人、疑难病人、危重病人、抢救病人、死亡病人)',
+  `check_status` char(3) NOT NULL DEFAULT '0' COMMENT '核查状态(0:未核查 1:已核查)',
+  `is_check_all` char(3) NOT NULL DEFAULT '0' COMMENT '全部核查(0:无 1:全部)',
+  `check_ratio` int(8) DEFAULT NULL COMMENT '核查比例',
+  `check_num` int(8) DEFAULT NULL COMMENT '核查数量',
+  `distribution_type` char(3) NOT NULL DEFAULT '0' COMMENT '分配方式(0:平均分配;1:按比例分配) 默认平均分配',
+  `task_time_limit` int(8) DEFAULT NULL COMMENT '任务时限',
+  `is_timing` char(3) NOT NULL DEFAULT '0' COMMENT '是否定时任务(0:非定时任务 1:是定时任务)',
+  `is_deleted` char(3) NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(60) NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(60) NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `remark` varchar(255) NOT NULL DEFAULT '' COMMENT '备注',
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='核查分配方案表';
+
+-- ----------------------------
+-- Records of med_check_distribution_scheme
+-- ----------------------------
+
+-- ----------------------------
+-- Table structure for med_check_distribution_scheme_person
+-- ----------------------------
+DROP TABLE IF EXISTS `med_check_distribution_scheme_person`;
+CREATE TABLE `med_check_distribution_scheme_person` (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `scheme_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '方案id',
+  `check_ratio` int(8) DEFAULT NULL COMMENT '核查比例',
+  `check_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '核查员id',
+  `check_name` varchar(60) DEFAULT NULL COMMENT '核查员姓名',
+  `check_time` datetime DEFAULT NULL COMMENT '核查时间',
+  `is_deleted` char(3) NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(60) NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(60) NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `remark` varchar(255) NOT NULL DEFAULT '' COMMENT '备注',
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='核查分配方案人员表';
+
+-- ----------------------------
+-- Records of med_check_distribution_scheme_person
+-- ----------------------------
+
+-- ----------------------------
+-- Table structure for med_check_record
+-- ----------------------------
+DROP TABLE IF EXISTS `med_check_record`;
+CREATE TABLE `med_check_record` (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `hospital_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '医院ID',
+  `behospital_code` varchar(16) NOT NULL COMMENT '病人住院ID',
+  `check_type` char(3) NOT NULL DEFAULT '2' COMMENT '核查类型(0病历,1病案首页,2全部)',
+  `job_creator` bigint(20) NOT NULL DEFAULT '0' COMMENT '核查任务创建人编号',
+  `job_creator_name` varchar(60) DEFAULT NULL COMMENT '核查任务创建人',
+  `job_create_time` datetime DEFAULT NULL COMMENT '核查任务生成时间',
+  `job_type` char(3) NOT NULL DEFAULT '0' COMMENT '核查任务类型(0-科室任务 1-质控科 2-院级)',
+  `job_distributor` bigint(20) NOT NULL DEFAULT '0' COMMENT '核查任务分配人编号',
+  `job_distribution_name` varchar(60) DEFAULT NULL COMMENT '核查任务分配人姓名',
+  `job_distribution_time` datetime DEFAULT NULL COMMENT '核查任务分配时间',
+  `work_flow_node_id` bigint(20) NOT NULL COMMENT '当前工作流节点id',
+  `is_deleted` char(1) NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(60) NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(60) NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `remark` varchar(255) NOT NULL DEFAULT '' COMMENT '备注',
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='核查记录表';
+
+-- ----------------------------
+-- Records of med_check_record
+-- ----------------------------
+
+-- ----------------------------
+-- Table structure for med_check_record_examine
+-- ----------------------------
+DROP TABLE IF EXISTS `med_check_record_examine`;
+CREATE TABLE `med_check_record_examine` (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
+  `check_record` bigint(20) NOT NULL COMMENT '核查记录id',
+  `hospital_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '医院ID',
+  `behospital_code` varchar(16) NOT NULL COMMENT '病人住院ID',
+  `check_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '核查人编号',
+  `check_name` varchar(60) DEFAULT NULL COMMENT '核查人姓名',
+  `check_time` datetime DEFAULT NULL COMMENT '核查时间',
+  `status` char(3) NOT NULL DEFAULT '0' COMMENT '核查状态(0待核查,1已核查)',
+  `is_deleted` char(1) NOT NULL DEFAULT 'N' COMMENT '是否删除,N:未删除,Y:删除',
+  `gmt_create` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录创建时间',
+  `gmt_modified` datetime NOT NULL DEFAULT '1970-01-01 12:00:00' COMMENT '记录修改时间,如果时间是1970年则表示纪录未修改',
+  `creator` varchar(60) NOT NULL DEFAULT '0' COMMENT '创建人,0表示无创建人值',
+  `modifier` varchar(60) NOT NULL DEFAULT '0' COMMENT '修改人,如果为0则表示纪录未修改',
+  `remark` varchar(255) NOT NULL DEFAULT '' COMMENT '备注',
+  PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='核查记录审批表';
+
+-- ----------------------------
+-- Records of med_check_record_examine
+-- ----------------------------

+ 328 - 0
src/main/java/com/diagbot/entity/CheckDistributionScheme.java

@@ -0,0 +1,328 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.time.LocalDateTime;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 核查分配方案表
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@TableName("med_check_distribution_scheme")
+public class CheckDistributionScheme implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 医院ID
+     */
+    private Long hospitalId;
+
+    /**
+     * 住院科室ID集合(多个用逗号隔开)
+     */
+    private String deptIds;
+
+    /**
+     * 住院科室名称集合(多个用逗号隔开)
+     */
+    private String deptNames;
+
+    /**
+     * 方案名称
+     */
+    private String schemeName;
+
+    /**
+     * 核查病历阶段(运行病历(未出院):0、  运行病历(已出院):1、 终末病历:2)
+     */
+    private String stage;
+
+    /**
+     * 入院日期-近多少天
+     */
+    private Integer inTimeFrame;
+
+    /**
+     * 出院日期-近多少天
+     */
+    private Integer outTimeFrame;
+
+    /**
+     * 病历等级
+     */
+    private String level;
+
+    /**
+     * 病历类型(普通病人、手术病人、疑难病人、危重病人、抢救病人、死亡病人)
+     */
+    private String behospitalType;
+
+    /**
+     * 核查状态(0:未核查 1:已核查)
+     */
+    private String checkStatus;
+
+    /**
+     * 全部核查(0:无 1:全部)
+     */
+    private String isCheckAll;
+
+    /**
+     * 核查比例
+     */
+    private Integer checkRatio;
+
+    /**
+     * 核查数量
+     */
+    private Integer checkNum;
+
+    /**
+     * 分配方式(0:平均分配;1:按比例分配) 默认平均分配
+     */
+    private String distributionType;
+
+    /**
+     * 任务时限
+     */
+    private Integer taskTimeLimit;
+
+    /**
+     * 是否定时任务(0:非定时任务 1:是定时任务)
+     */
+    private String isTiming;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private LocalDateTime gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private LocalDateTime gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 备注
+     */
+    private String remark;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public Long getHospitalId() {
+        return hospitalId;
+    }
+
+    public void setHospitalId(Long hospitalId) {
+        this.hospitalId = hospitalId;
+    }
+    public String getDeptIds() {
+        return deptIds;
+    }
+
+    public void setDeptIds(String deptIds) {
+        this.deptIds = deptIds;
+    }
+    public String getDeptNames() {
+        return deptNames;
+    }
+
+    public void setDeptNames(String deptNames) {
+        this.deptNames = deptNames;
+    }
+    public String getSchemeName() {
+        return schemeName;
+    }
+
+    public void setSchemeName(String schemeName) {
+        this.schemeName = schemeName;
+    }
+    public String getStage() {
+        return stage;
+    }
+
+    public void setStage(String stage) {
+        this.stage = stage;
+    }
+    public Integer getInTimeFrame() {
+        return inTimeFrame;
+    }
+
+    public void setInTimeFrame(Integer inTimeFrame) {
+        this.inTimeFrame = inTimeFrame;
+    }
+    public Integer getOutTimeFrame() {
+        return outTimeFrame;
+    }
+
+    public void setOutTimeFrame(Integer outTimeFrame) {
+        this.outTimeFrame = outTimeFrame;
+    }
+    public String getLevel() {
+        return level;
+    }
+
+    public void setLevel(String level) {
+        this.level = level;
+    }
+    public String getBehospitalType() {
+        return behospitalType;
+    }
+
+    public void setBehospitalType(String behospitalType) {
+        this.behospitalType = behospitalType;
+    }
+    public String getCheckStatus() {
+        return checkStatus;
+    }
+
+    public void setCheckStatus(String checkStatus) {
+        this.checkStatus = checkStatus;
+    }
+    public String getIsCheckAll() {
+        return isCheckAll;
+    }
+
+    public void setIsCheckAll(String isCheckAll) {
+        this.isCheckAll = isCheckAll;
+    }
+    public Integer getCheckRatio() {
+        return checkRatio;
+    }
+
+    public void setCheckRatio(Integer checkRatio) {
+        this.checkRatio = checkRatio;
+    }
+    public Integer getCheckNum() {
+        return checkNum;
+    }
+
+    public void setCheckNum(Integer checkNum) {
+        this.checkNum = checkNum;
+    }
+    public String getDistributionType() {
+        return distributionType;
+    }
+
+    public void setDistributionType(String distributionType) {
+        this.distributionType = distributionType;
+    }
+    public Integer getTaskTimeLimit() {
+        return taskTimeLimit;
+    }
+
+    public void setTaskTimeLimit(Integer taskTimeLimit) {
+        this.taskTimeLimit = taskTimeLimit;
+    }
+    public String getIsTiming() {
+        return isTiming;
+    }
+
+    public void setIsTiming(String isTiming) {
+        this.isTiming = isTiming;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public LocalDateTime getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(LocalDateTime gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public LocalDateTime getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(LocalDateTime gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public String getRemark() {
+        return remark;
+    }
+
+    public void setRemark(String remark) {
+        this.remark = remark;
+    }
+
+    @Override
+    public String toString() {
+        return "CheckDistributionScheme{" +
+            "id=" + id +
+            ", hospitalId=" + hospitalId +
+            ", deptIds=" + deptIds +
+            ", deptNames=" + deptNames +
+            ", schemeName=" + schemeName +
+            ", stage=" + stage +
+            ", inTimeFrame=" + inTimeFrame +
+            ", outTimeFrame=" + outTimeFrame +
+            ", level=" + level +
+            ", behospitalType=" + behospitalType +
+            ", checkStatus=" + checkStatus +
+            ", isCheckAll=" + isCheckAll +
+            ", checkRatio=" + checkRatio +
+            ", checkNum=" + checkNum +
+            ", distributionType=" + distributionType +
+            ", taskTimeLimit=" + taskTimeLimit +
+            ", isTiming=" + isTiming +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", remark=" + remark +
+        "}";
+    }
+}

+ 185 - 0
src/main/java/com/diagbot/entity/CheckDistributionSchemePerson.java

@@ -0,0 +1,185 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.time.LocalDateTime;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 核查分配方案人员表
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@TableName("med_check_distribution_scheme_person")
+public class CheckDistributionSchemePerson implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 方案id
+     */
+    private Long schemeId;
+
+    /**
+     * 核查比例
+     */
+    private Integer checkRatio;
+
+    /**
+     * 核查员id
+     */
+    private Long checkId;
+
+    /**
+     * 核查员姓名
+     */
+    private String checkName;
+
+    /**
+     * 核查时间
+     */
+    private LocalDateTime checkTime;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private LocalDateTime gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private LocalDateTime gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 备注
+     */
+    private String remark;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public Long getSchemeId() {
+        return schemeId;
+    }
+
+    public void setSchemeId(Long schemeId) {
+        this.schemeId = schemeId;
+    }
+    public Integer getCheckRatio() {
+        return checkRatio;
+    }
+
+    public void setCheckRatio(Integer checkRatio) {
+        this.checkRatio = checkRatio;
+    }
+    public Long getCheckId() {
+        return checkId;
+    }
+
+    public void setCheckId(Long checkId) {
+        this.checkId = checkId;
+    }
+    public String getCheckName() {
+        return checkName;
+    }
+
+    public void setCheckName(String checkName) {
+        this.checkName = checkName;
+    }
+    public LocalDateTime getCheckTime() {
+        return checkTime;
+    }
+
+    public void setCheckTime(LocalDateTime checkTime) {
+        this.checkTime = checkTime;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public LocalDateTime getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(LocalDateTime gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public LocalDateTime getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(LocalDateTime gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public String getRemark() {
+        return remark;
+    }
+
+    public void setRemark(String remark) {
+        this.remark = remark;
+    }
+
+    @Override
+    public String toString() {
+        return "CheckDistributionSchemePerson{" +
+            "id=" + id +
+            ", schemeId=" + schemeId +
+            ", checkRatio=" + checkRatio +
+            ", checkId=" + checkId +
+            ", checkName=" + checkName +
+            ", checkTime=" + checkTime +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", remark=" + remark +
+        "}";
+    }
+}

+ 263 - 0
src/main/java/com/diagbot/entity/CheckRecord.java

@@ -0,0 +1,263 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.time.LocalDateTime;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 核查记录表
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@TableName("med_check_record")
+public class CheckRecord implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 医院ID
+     */
+    private Long hospitalId;
+
+    /**
+     * 病人住院ID
+     */
+    private String behospitalCode;
+
+    /**
+     * 核查类型(0病历,1病案首页,2全部)
+     */
+    private String checkType;
+
+    /**
+     * 核查任务创建人编号
+     */
+    private Long jobCreator;
+
+    /**
+     * 核查任务创建人
+     */
+    private String jobCreatorName;
+
+    /**
+     * 核查任务生成时间
+     */
+    private LocalDateTime jobCreateTime;
+
+    /**
+     * 核查任务类型(0-科室任务 1-质控科 2-院级)
+     */
+    private String jobType;
+
+    /**
+     * 核查任务分配人编号
+     */
+    private Long jobDistributor;
+
+    /**
+     * 核查任务分配人姓名
+     */
+    private String jobDistributionName;
+
+    /**
+     * 核查任务分配时间
+     */
+    private LocalDateTime jobDistributionTime;
+
+    /**
+     * 当前工作流节点id
+     */
+    private Long workFlowNodeId;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private LocalDateTime gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private LocalDateTime gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 备注
+     */
+    private String remark;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public Long getHospitalId() {
+        return hospitalId;
+    }
+
+    public void setHospitalId(Long hospitalId) {
+        this.hospitalId = hospitalId;
+    }
+    public String getBehospitalCode() {
+        return behospitalCode;
+    }
+
+    public void setBehospitalCode(String behospitalCode) {
+        this.behospitalCode = behospitalCode;
+    }
+    public String getCheckType() {
+        return checkType;
+    }
+
+    public void setCheckType(String checkType) {
+        this.checkType = checkType;
+    }
+    public Long getJobCreator() {
+        return jobCreator;
+    }
+
+    public void setJobCreator(Long jobCreator) {
+        this.jobCreator = jobCreator;
+    }
+    public String getJobCreatorName() {
+        return jobCreatorName;
+    }
+
+    public void setJobCreatorName(String jobCreatorName) {
+        this.jobCreatorName = jobCreatorName;
+    }
+    public LocalDateTime getJobCreateTime() {
+        return jobCreateTime;
+    }
+
+    public void setJobCreateTime(LocalDateTime jobCreateTime) {
+        this.jobCreateTime = jobCreateTime;
+    }
+    public String getJobType() {
+        return jobType;
+    }
+
+    public void setJobType(String jobType) {
+        this.jobType = jobType;
+    }
+    public Long getJobDistributor() {
+        return jobDistributor;
+    }
+
+    public void setJobDistributor(Long jobDistributor) {
+        this.jobDistributor = jobDistributor;
+    }
+    public String getJobDistributionName() {
+        return jobDistributionName;
+    }
+
+    public void setJobDistributionName(String jobDistributionName) {
+        this.jobDistributionName = jobDistributionName;
+    }
+    public LocalDateTime getJobDistributionTime() {
+        return jobDistributionTime;
+    }
+
+    public void setJobDistributionTime(LocalDateTime jobDistributionTime) {
+        this.jobDistributionTime = jobDistributionTime;
+    }
+    public Long getWorkFlowNodeId() {
+        return workFlowNodeId;
+    }
+
+    public void setWorkFlowNodeId(Long workFlowNodeId) {
+        this.workFlowNodeId = workFlowNodeId;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public LocalDateTime getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(LocalDateTime gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public LocalDateTime getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(LocalDateTime gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public String getRemark() {
+        return remark;
+    }
+
+    public void setRemark(String remark) {
+        this.remark = remark;
+    }
+
+    @Override
+    public String toString() {
+        return "CheckRecord{" +
+            "id=" + id +
+            ", hospitalId=" + hospitalId +
+            ", behospitalCode=" + behospitalCode +
+            ", checkType=" + checkType +
+            ", jobCreator=" + jobCreator +
+            ", jobCreatorName=" + jobCreatorName +
+            ", jobCreateTime=" + jobCreateTime +
+            ", jobType=" + jobType +
+            ", jobDistributor=" + jobDistributor +
+            ", jobDistributionName=" + jobDistributionName +
+            ", jobDistributionTime=" + jobDistributionTime +
+            ", workFlowNodeId=" + workFlowNodeId +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", remark=" + remark +
+        "}";
+    }
+}

+ 211 - 0
src/main/java/com/diagbot/entity/CheckRecordExamine.java

@@ -0,0 +1,211 @@
+package com.diagbot.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.time.LocalDateTime;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 核查记录审批表
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@TableName("med_check_record_examine")
+public class CheckRecordExamine implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 核查记录id
+     */
+    private Long checkRecord;
+
+    /**
+     * 医院ID
+     */
+    private Long hospitalId;
+
+    /**
+     * 病人住院ID
+     */
+    private String behospitalCode;
+
+    /**
+     * 核查人编号
+     */
+    private Long checkId;
+
+    /**
+     * 核查人姓名
+     */
+    private String checkName;
+
+    /**
+     * 核查时间
+     */
+    private LocalDateTime checkTime;
+
+    /**
+     * 核查状态(0待核查,1已核查)
+     */
+    private String status;
+
+    /**
+     * 是否删除,N:未删除,Y:删除
+     */
+    private String isDeleted;
+
+    /**
+     * 记录创建时间
+     */
+    private LocalDateTime gmtCreate;
+
+    /**
+     * 记录修改时间,如果时间是1970年则表示纪录未修改
+     */
+    private LocalDateTime gmtModified;
+
+    /**
+     * 创建人,0表示无创建人值
+     */
+    private String creator;
+
+    /**
+     * 修改人,如果为0则表示纪录未修改
+     */
+    private String modifier;
+
+    /**
+     * 备注
+     */
+    private String remark;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+    public Long getCheckRecord() {
+        return checkRecord;
+    }
+
+    public void setCheckRecord(Long checkRecord) {
+        this.checkRecord = checkRecord;
+    }
+    public Long getHospitalId() {
+        return hospitalId;
+    }
+
+    public void setHospitalId(Long hospitalId) {
+        this.hospitalId = hospitalId;
+    }
+    public String getBehospitalCode() {
+        return behospitalCode;
+    }
+
+    public void setBehospitalCode(String behospitalCode) {
+        this.behospitalCode = behospitalCode;
+    }
+    public Long getCheckId() {
+        return checkId;
+    }
+
+    public void setCheckId(Long checkId) {
+        this.checkId = checkId;
+    }
+    public String getCheckName() {
+        return checkName;
+    }
+
+    public void setCheckName(String checkName) {
+        this.checkName = checkName;
+    }
+    public LocalDateTime getCheckTime() {
+        return checkTime;
+    }
+
+    public void setCheckTime(LocalDateTime checkTime) {
+        this.checkTime = checkTime;
+    }
+    public String getStatus() {
+        return status;
+    }
+
+    public void setStatus(String status) {
+        this.status = status;
+    }
+    public String getIsDeleted() {
+        return isDeleted;
+    }
+
+    public void setIsDeleted(String isDeleted) {
+        this.isDeleted = isDeleted;
+    }
+    public LocalDateTime getGmtCreate() {
+        return gmtCreate;
+    }
+
+    public void setGmtCreate(LocalDateTime gmtCreate) {
+        this.gmtCreate = gmtCreate;
+    }
+    public LocalDateTime getGmtModified() {
+        return gmtModified;
+    }
+
+    public void setGmtModified(LocalDateTime gmtModified) {
+        this.gmtModified = gmtModified;
+    }
+    public String getCreator() {
+        return creator;
+    }
+
+    public void setCreator(String creator) {
+        this.creator = creator;
+    }
+    public String getModifier() {
+        return modifier;
+    }
+
+    public void setModifier(String modifier) {
+        this.modifier = modifier;
+    }
+    public String getRemark() {
+        return remark;
+    }
+
+    public void setRemark(String remark) {
+        this.remark = remark;
+    }
+
+    @Override
+    public String toString() {
+        return "CheckRecordExamine{" +
+            "id=" + id +
+            ", checkRecord=" + checkRecord +
+            ", hospitalId=" + hospitalId +
+            ", behospitalCode=" + behospitalCode +
+            ", checkId=" + checkId +
+            ", checkName=" + checkName +
+            ", checkTime=" + checkTime +
+            ", status=" + status +
+            ", isDeleted=" + isDeleted +
+            ", gmtCreate=" + gmtCreate +
+            ", gmtModified=" + gmtModified +
+            ", creator=" + creator +
+            ", modifier=" + modifier +
+            ", remark=" + remark +
+        "}";
+    }
+}

+ 16 - 0
src/main/java/com/diagbot/mapper/CheckDistributionSchemeMapper.java

@@ -0,0 +1,16 @@
+package com.diagbot.mapper;
+
+import com.diagbot.entity.CheckDistributionScheme;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 核查分配方案表 Mapper 接口
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+public interface CheckDistributionSchemeMapper extends BaseMapper<CheckDistributionScheme> {
+
+}

+ 16 - 0
src/main/java/com/diagbot/mapper/CheckDistributionSchemePersonMapper.java

@@ -0,0 +1,16 @@
+package com.diagbot.mapper;
+
+import com.diagbot.entity.CheckDistributionSchemePerson;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 核查分配方案人员表 Mapper 接口
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+public interface CheckDistributionSchemePersonMapper extends BaseMapper<CheckDistributionSchemePerson> {
+
+}

+ 16 - 0
src/main/java/com/diagbot/mapper/CheckRecordExamineMapper.java

@@ -0,0 +1,16 @@
+package com.diagbot.mapper;
+
+import com.diagbot.entity.CheckRecordExamine;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 核查记录审批表 Mapper 接口
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+public interface CheckRecordExamineMapper extends BaseMapper<CheckRecordExamine> {
+
+}

+ 16 - 0
src/main/java/com/diagbot/mapper/CheckRecordMapper.java

@@ -0,0 +1,16 @@
+package com.diagbot.mapper;
+
+import com.diagbot.entity.CheckRecord;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 核查记录表 Mapper 接口
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+public interface CheckRecordMapper extends BaseMapper<CheckRecord> {
+
+}

+ 16 - 0
src/main/java/com/diagbot/service/CheckDistributionSchemePersonService.java

@@ -0,0 +1,16 @@
+package com.diagbot.service;
+
+import com.diagbot.entity.CheckDistributionSchemePerson;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 核查分配方案人员表 服务类
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+public interface CheckDistributionSchemePersonService extends IService<CheckDistributionSchemePerson> {
+
+}

+ 16 - 0
src/main/java/com/diagbot/service/CheckDistributionSchemeService.java

@@ -0,0 +1,16 @@
+package com.diagbot.service;
+
+import com.diagbot.entity.CheckDistributionScheme;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 核查分配方案表 服务类
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+public interface CheckDistributionSchemeService extends IService<CheckDistributionScheme> {
+
+}

+ 16 - 0
src/main/java/com/diagbot/service/CheckRecordExamineService.java

@@ -0,0 +1,16 @@
+package com.diagbot.service;
+
+import com.diagbot.entity.CheckRecordExamine;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 核查记录审批表 服务类
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+public interface CheckRecordExamineService extends IService<CheckRecordExamine> {
+
+}

+ 16 - 0
src/main/java/com/diagbot/service/CheckRecordService.java

@@ -0,0 +1,16 @@
+package com.diagbot.service;
+
+import com.diagbot.entity.CheckRecord;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 核查记录表 服务类
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+public interface CheckRecordService extends IService<CheckRecord> {
+
+}

+ 20 - 0
src/main/java/com/diagbot/service/impl/CheckDistributionSchemePersonServiceImpl.java

@@ -0,0 +1,20 @@
+package com.diagbot.service.impl;
+
+import com.diagbot.entity.CheckDistributionSchemePerson;
+import com.diagbot.mapper.CheckDistributionSchemePersonMapper;
+import com.diagbot.service.CheckDistributionSchemePersonService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 核查分配方案人员表 服务实现类
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@Service
+public class CheckDistributionSchemePersonServiceImpl extends ServiceImpl<CheckDistributionSchemePersonMapper, CheckDistributionSchemePerson> implements CheckDistributionSchemePersonService {
+
+}

+ 20 - 0
src/main/java/com/diagbot/service/impl/CheckDistributionSchemeServiceImpl.java

@@ -0,0 +1,20 @@
+package com.diagbot.service.impl;
+
+import com.diagbot.entity.CheckDistributionScheme;
+import com.diagbot.mapper.CheckDistributionSchemeMapper;
+import com.diagbot.service.CheckDistributionSchemeService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 核查分配方案表 服务实现类
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@Service
+public class CheckDistributionSchemeServiceImpl extends ServiceImpl<CheckDistributionSchemeMapper, CheckDistributionScheme> implements CheckDistributionSchemeService {
+
+}

+ 20 - 0
src/main/java/com/diagbot/service/impl/CheckRecordExamineServiceImpl.java

@@ -0,0 +1,20 @@
+package com.diagbot.service.impl;
+
+import com.diagbot.entity.CheckRecordExamine;
+import com.diagbot.mapper.CheckRecordExamineMapper;
+import com.diagbot.service.CheckRecordExamineService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 核查记录审批表 服务实现类
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@Service
+public class CheckRecordExamineServiceImpl extends ServiceImpl<CheckRecordExamineMapper, CheckRecordExamine> implements CheckRecordExamineService {
+
+}

+ 20 - 0
src/main/java/com/diagbot/service/impl/CheckRecordServiceImpl.java

@@ -0,0 +1,20 @@
+package com.diagbot.service.impl;
+
+import com.diagbot.entity.CheckRecord;
+import com.diagbot.mapper.CheckRecordMapper;
+import com.diagbot.service.CheckRecordService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 核查记录表 服务实现类
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@Service
+public class CheckRecordServiceImpl extends ServiceImpl<CheckRecordMapper, CheckRecord> implements CheckRecordService {
+
+}

+ 20 - 0
src/main/java/com/diagbot/web/CheckDistributionSchemeController.java

@@ -0,0 +1,20 @@
+package com.diagbot.web;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.stereotype.Controller;
+
+/**
+ * <p>
+ * 核查分配方案表 前端控制器
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@Controller
+@RequestMapping("/checkDistributionScheme")
+public class CheckDistributionSchemeController {
+
+}

+ 20 - 0
src/main/java/com/diagbot/web/CheckDistributionSchemePersonController.java

@@ -0,0 +1,20 @@
+package com.diagbot.web;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.stereotype.Controller;
+
+/**
+ * <p>
+ * 核查分配方案人员表 前端控制器
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@Controller
+@RequestMapping("/checkDistributionSchemePerson")
+public class CheckDistributionSchemePersonController {
+
+}

+ 20 - 0
src/main/java/com/diagbot/web/CheckRecordController.java

@@ -0,0 +1,20 @@
+package com.diagbot.web;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.stereotype.Controller;
+
+/**
+ * <p>
+ * 核查记录表 前端控制器
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@Controller
+@RequestMapping("/checkRecord")
+public class CheckRecordController {
+
+}

+ 20 - 0
src/main/java/com/diagbot/web/CheckRecordExamineController.java

@@ -0,0 +1,20 @@
+package com.diagbot.web;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.stereotype.Controller;
+
+/**
+ * <p>
+ * 核查记录审批表 前端控制器
+ * </p>
+ *
+ * @author songxl
+ * @since 2022-05-18
+ */
+@Controller
+@RequestMapping("/checkRecordExamine")
+public class CheckRecordExamineController {
+
+}

+ 32 - 0
src/main/resources/mapper/CheckDistributionSchemeMapper.xml

@@ -0,0 +1,32 @@
+<?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.diagbot.mapper.CheckDistributionSchemeMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="BaseResultMap" type="com.diagbot.entity.CheckDistributionScheme">
+        <id column="id" property="id" />
+        <result column="hospital_id" property="hospitalId" />
+        <result column="dept_ids" property="deptIds" />
+        <result column="dept_names" property="deptNames" />
+        <result column="scheme_name" property="schemeName" />
+        <result column="stage" property="stage" />
+        <result column="in_time_frame" property="inTimeFrame" />
+        <result column="out_time_frame" property="outTimeFrame" />
+        <result column="level" property="level" />
+        <result column="behospital_type" property="behospitalType" />
+        <result column="check_status" property="checkStatus" />
+        <result column="is_check_all" property="isCheckAll" />
+        <result column="check_ratio" property="checkRatio" />
+        <result column="check_num" property="checkNum" />
+        <result column="distribution_type" property="distributionType" />
+        <result column="task_time_limit" property="taskTimeLimit" />
+        <result column="is_timing" property="isTiming" />
+        <result column="is_deleted" property="isDeleted" />
+        <result column="gmt_create" property="gmtCreate" />
+        <result column="gmt_modified" property="gmtModified" />
+        <result column="creator" property="creator" />
+        <result column="modifier" property="modifier" />
+        <result column="remark" property="remark" />
+    </resultMap>
+
+</mapper>

+ 21 - 0
src/main/resources/mapper/CheckDistributionSchemePersonMapper.xml

@@ -0,0 +1,21 @@
+<?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.diagbot.mapper.CheckDistributionSchemePersonMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="BaseResultMap" type="com.diagbot.entity.CheckDistributionSchemePerson">
+        <id column="id" property="id" />
+        <result column="scheme_id" property="schemeId" />
+        <result column="check_ratio" property="checkRatio" />
+        <result column="check_id" property="checkId" />
+        <result column="check_name" property="checkName" />
+        <result column="check_time" property="checkTime" />
+        <result column="is_deleted" property="isDeleted" />
+        <result column="gmt_create" property="gmtCreate" />
+        <result column="gmt_modified" property="gmtModified" />
+        <result column="creator" property="creator" />
+        <result column="modifier" property="modifier" />
+        <result column="remark" property="remark" />
+    </resultMap>
+
+</mapper>

+ 23 - 0
src/main/resources/mapper/CheckRecordExamineMapper.xml

@@ -0,0 +1,23 @@
+<?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.diagbot.mapper.CheckRecordExamineMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="BaseResultMap" type="com.diagbot.entity.CheckRecordExamine">
+        <id column="id" property="id" />
+        <result column="check_record" property="checkRecord" />
+        <result column="hospital_id" property="hospitalId" />
+        <result column="behospital_code" property="behospitalCode" />
+        <result column="check_id" property="checkId" />
+        <result column="check_name" property="checkName" />
+        <result column="check_time" property="checkTime" />
+        <result column="status" property="status" />
+        <result column="is_deleted" property="isDeleted" />
+        <result column="gmt_create" property="gmtCreate" />
+        <result column="gmt_modified" property="gmtModified" />
+        <result column="creator" property="creator" />
+        <result column="modifier" property="modifier" />
+        <result column="remark" property="remark" />
+    </resultMap>
+
+</mapper>

+ 27 - 0
src/main/resources/mapper/CheckRecordMapper.xml

@@ -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.diagbot.mapper.CheckRecordMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="BaseResultMap" type="com.diagbot.entity.CheckRecord">
+        <id column="id" property="id" />
+        <result column="hospital_id" property="hospitalId" />
+        <result column="behospital_code" property="behospitalCode" />
+        <result column="check_type" property="checkType" />
+        <result column="job_creator" property="jobCreator" />
+        <result column="job_creator_name" property="jobCreatorName" />
+        <result column="job_create_time" property="jobCreateTime" />
+        <result column="job_type" property="jobType" />
+        <result column="job_distributor" property="jobDistributor" />
+        <result column="job_distribution_name" property="jobDistributionName" />
+        <result column="job_distribution_time" property="jobDistributionTime" />
+        <result column="work_flow_node_id" property="workFlowNodeId" />
+        <result column="is_deleted" property="isDeleted" />
+        <result column="gmt_create" property="gmtCreate" />
+        <result column="gmt_modified" property="gmtModified" />
+        <result column="creator" property="creator" />
+        <result column="modifier" property="modifier" />
+        <result column="remark" property="remark" />
+    </resultMap>
+
+</mapper>