From 5c0acd20aa9d85aad3022df3453af932a53678eb Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期三, 19 三月 2025 17:23:54 +0800
Subject: [PATCH] 迪安外送结果回写表

---
 ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/WsImportResultGroupMapper.java            |   18 ++++
 ltkj-hosp/src/main/java/com/ltkj/hosp/domain/WsImportResultGroup.java                  |   91 ++++++++++++++++++++++
 ltkj-hosp/src/main/resources/mapper/WsImportResultGroupMapper.xml                      |   60 +++++++++++++++
 ltkj-hosp/src/main/java/com/ltkj/hosp/service/WsImportResultGroupService.java          |   13 +++
 ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/WsImportResultGroupServiceImpl.java |   22 +++++
 5 files changed, 204 insertions(+), 0 deletions(-)

diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/domain/WsImportResultGroup.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/domain/WsImportResultGroup.java
new file mode 100644
index 0000000..1462644
--- /dev/null
+++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/domain/WsImportResultGroup.java
@@ -0,0 +1,91 @@
+package com.ltkj.hosp.domain;
+
+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 ws_import_result_group
+ */
+@TableName(value ="ws_import_result_group")
+@Data
+public class WsImportResultGroup implements Serializable {
+    private Long id;
+
+    private String sampleNo;
+
+    private String hosCode;
+
+    private String hosAnalysisCode;
+
+    private String daTestCode;
+
+    private String daTestItem;
+
+    private String daAnalysisCode;
+
+    private String daAnalysisName;
+
+    private String daAnalysisShorter;
+
+    private String refRange;
+
+    private String final;
+
+    private String finalLongText;
+
+    private String approver;
+
+    private Date approveTime;
+
+    private String examiner;
+
+    private Date examineTime;
+
+    private Date testDate;
+
+    private Date samplingDate;
+
+    private Integer resultType;
+
+    private String patientName;
+
+    private String outPatientNo;
+
+    private String refRangeUpper;
+
+    private String refRangeLower;
+
+    private String units;
+
+    private String dangerFlag;
+
+    private String serviceGroup;
+
+    private String dapartment;
+
+    private String sampleType;
+
+    private String clinicalContent;
+
+    private String rnLhFlag;
+
+    private String rnArrowFlag;
+
+    private String comments;
+
+    private String finalRecodeSet;
+
+    private Integer isRead;
+
+    private Date createTime;
+
+    private Date updateTime;
+
+    private static final long serialVersionUID = 1L;
+}
diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/WsImportResultGroupMapper.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/WsImportResultGroupMapper.java
new file mode 100644
index 0000000..fedb6b5
--- /dev/null
+++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/WsImportResultGroupMapper.java
@@ -0,0 +1,18 @@
+package com.ltkj.hosp.mapper;
+
+import com.ltkj.hosp.domain.WsImportResultGroup;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author w
+* @description 閽堝琛ㄣ�恮s_import_result_group(缁撴灉鍥炰紶琛紝杩畨鍥炰紶缁撴灉璁板綍鍒拌琛紝渚汱IS绯荤粺鑾峰彇)銆戠殑鏁版嵁搴撴搷浣淢apper
+* @createDate 2025-03-19 17:16:25
+* @Entity com.ltkj.hosp.domain.WsImportResultGroup
+*/
+public interface WsImportResultGroupMapper extends BaseMapper<WsImportResultGroup> {
+
+}
+
+
+
+
diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/service/WsImportResultGroupService.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/WsImportResultGroupService.java
new file mode 100644
index 0000000..f92989b
--- /dev/null
+++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/WsImportResultGroupService.java
@@ -0,0 +1,13 @@
+package com.ltkj.hosp.service;
+
+import com.ltkj.hosp.domain.WsImportResultGroup;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+* @author w
+* @description 閽堝琛ㄣ�恮s_import_result_group(缁撴灉鍥炰紶琛紝杩畨鍥炰紶缁撴灉璁板綍鍒拌琛紝渚汱IS绯荤粺鑾峰彇)銆戠殑鏁版嵁搴撴搷浣淪ervice
+* @createDate 2025-03-19 17:16:25
+*/
+public interface WsImportResultGroupService extends IService<WsImportResultGroup> {
+
+}
diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/WsImportResultGroupServiceImpl.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/WsImportResultGroupServiceImpl.java
new file mode 100644
index 0000000..1ccfefe
--- /dev/null
+++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/WsImportResultGroupServiceImpl.java
@@ -0,0 +1,22 @@
+package com.ltkj.hosp.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.ltkj.hosp.domain.WsImportResultGroup;
+import com.ltkj.hosp.service.WsImportResultGroupService;
+import com.ltkj.hosp.mapper.WsImportResultGroupMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author w
+* @description 閽堝琛ㄣ�恮s_import_result_group(缁撴灉鍥炰紶琛紝杩畨鍥炰紶缁撴灉璁板綍鍒拌琛紝渚汱IS绯荤粺鑾峰彇)銆戠殑鏁版嵁搴撴搷浣淪ervice瀹炵幇
+* @createDate 2025-03-19 17:16:25
+*/
+@Service
+public class WsImportResultGroupServiceImpl extends ServiceImpl<WsImportResultGroupMapper, WsImportResultGroup>
+    implements WsImportResultGroupService{
+
+}
+
+
+
+
diff --git a/ltkj-hosp/src/main/resources/mapper/WsImportResultGroupMapper.xml b/ltkj-hosp/src/main/resources/mapper/WsImportResultGroupMapper.xml
new file mode 100644
index 0000000..068220d
--- /dev/null
+++ b/ltkj-hosp/src/main/resources/mapper/WsImportResultGroupMapper.xml
@@ -0,0 +1,60 @@
+<?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.ltkj.hosp.mapper.WsImportResultGroupMapper">
+
+    <resultMap id="BaseResultMap" type="com.ltkj.hosp.domain.WsImportResultGroup">
+            <id property="id" column="id" jdbcType="BIGINT"/>
+            <result property="sampleNo" column="sample_no" jdbcType="VARCHAR"/>
+            <result property="hosCode" column="hos_code" jdbcType="VARCHAR"/>
+            <result property="hosAnalysisCode" column="hos_analysis_code" jdbcType="VARCHAR"/>
+            <result property="daTestCode" column="da_test_code" jdbcType="VARCHAR"/>
+            <result property="daTestItem" column="da_test_item" jdbcType="VARCHAR"/>
+            <result property="daAnalysisCode" column="da_analysis_code" jdbcType="VARCHAR"/>
+            <result property="daAnalysisName" column="da_analysis_name" jdbcType="VARCHAR"/>
+            <result property="daAnalysisShorter" column="da_analysis_shorter" jdbcType="VARCHAR"/>
+            <result property="refRange" column="ref_range" jdbcType="VARCHAR"/>
+            <result property="final" column="final" jdbcType="VARCHAR"/>
+            <result property="finalLongText" column="final_long_text" jdbcType="VARCHAR"/>
+            <result property="approver" column="approver" jdbcType="VARCHAR"/>
+            <result property="approveTime" column="approve_time" jdbcType="TIMESTAMP"/>
+            <result property="examiner" column="examiner" jdbcType="VARCHAR"/>
+            <result property="examineTime" column="examine_time" jdbcType="TIMESTAMP"/>
+            <result property="testDate" column="test_date" jdbcType="TIMESTAMP"/>
+            <result property="samplingDate" column="sampling_date" jdbcType="TIMESTAMP"/>
+            <result property="resultType" column="result_type" jdbcType="INTEGER"/>
+            <result property="patientName" column="patient_name" jdbcType="VARCHAR"/>
+            <result property="outPatientNo" column="out_patient_no" jdbcType="VARCHAR"/>
+            <result property="refRangeUpper" column="ref_range_upper" jdbcType="VARCHAR"/>
+            <result property="refRangeLower" column="ref_range_lower" jdbcType="VARCHAR"/>
+            <result property="units" column="units" jdbcType="VARCHAR"/>
+            <result property="dangerFlag" column="danger_flag" jdbcType="VARCHAR"/>
+            <result property="serviceGroup" column="service_group" jdbcType="VARCHAR"/>
+            <result property="dapartment" column="dapartment" jdbcType="VARCHAR"/>
+            <result property="sampleType" column="sample_type" jdbcType="VARCHAR"/>
+            <result property="clinicalContent" column="clinical_content" jdbcType="VARCHAR"/>
+            <result property="rnLhFlag" column="rn_lh_flag" jdbcType="VARCHAR"/>
+            <result property="rnArrowFlag" column="rn_arrow_flag" jdbcType="VARCHAR"/>
+            <result property="comments" column="comments" jdbcType="VARCHAR"/>
+            <result property="finalRecodeSet" column="final_recode_set" jdbcType="VARCHAR"/>
+            <result property="isRead" column="is_read" jdbcType="INTEGER"/>
+            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
+            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id,sample_no,hos_code,
+        hos_analysis_code,da_test_code,da_test_item,
+        da_analysis_code,da_analysis_name,da_analysis_shorter,
+        ref_range,final,final_long_text,
+        approver,approve_time,examiner,
+        examine_time,test_date,sampling_date,
+        result_type,patient_name,out_patient_no,
+        ref_range_upper,ref_range_lower,units,
+        danger_flag,service_group,dapartment,
+        sample_type,clinical_content,rn_lh_flag,
+        rn_arrow_flag,comments,final_recode_set,
+        is_read,create_time,update_time
+    </sql>
+</mapper>

--
Gitblit v1.8.0