20250319 更新
1.添加检验数据扩展实体
This commit is contained in:
@@ -3,19 +3,39 @@
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="digital.laboratory.platform.inspection.mapper.TestRecordSampleDataMapper">
|
||||
<resultMap id="testRecordMap" type="digital.laboratory.platform.inspection.vo.TestResultBusinessVO">
|
||||
<id property="id" column="id"/>
|
||||
<result property="id" column="id"/>
|
||||
<result property="businessType" column="business_type"/>
|
||||
<result property="materialType" column="material_type"/>
|
||||
<result property="reportConfig" column="report_config" typeHandler="com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler"/>
|
||||
<result property="caseName" column="case_name" />
|
||||
<result property="type" column="type"/>
|
||||
<result property="compounds" column="compounds"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="status" column="device_use_condition" />
|
||||
<resultMap id="BaseResultMap" type="digital.laboratory.platform.inspection.entity.TestRecordSampleData">
|
||||
<id property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="name" column="name" jdbcType="VARCHAR"/>
|
||||
<result property="sampleNo" column="sample_no" jdbcType="VARCHAR"/>
|
||||
<result property="testId" column="test_id" jdbcType="VARCHAR"/>
|
||||
<result property="stdConcentration" column="std_concentration" jdbcType="VARCHAR"/>
|
||||
<result property="sampleConcentration" column="sample_concentration" jdbcType="VARCHAR"/>
|
||||
<result property="compoundName" column="compound_name" jdbcType="VARCHAR"/>
|
||||
<result property="rtTimeWithinError" column="rt_time_within_error" jdbcType="VARCHAR"/>
|
||||
<result property="rtTimeError" column="rt_time_error" jdbcType="DOUBLE"/>
|
||||
<result property="targetRtTime" column="target_rt_time" jdbcType="DOUBLE"/>
|
||||
<result property="stdRtTime" column="std_rt_time" jdbcType="DOUBLE"/>
|
||||
<result property="isDetected" column="is_detected" jdbcType="INTEGER"/>
|
||||
<result property="sampleType" column="sample_type" jdbcType="VARCHAR"/>
|
||||
<result property="dataJson" column="data_json" jdbcType="VARCHAR"/>
|
||||
<result property="dataResultJson" column="data_result_json" jdbcType="VARCHAR"/>
|
||||
<result property="status" column="status" jdbcType="TINYINT"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
||||
<result property="compoundCnName" column="compound_cn_name" jdbcType="VARCHAR"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,name,sample_no,
|
||||
test_id,std_concentration,sample_concentration,
|
||||
compound_name,rt_time_within_error,rt_time_error,
|
||||
target_rt_time,std_rt_time,is_detected,
|
||||
sample_type,data_json,data_result_json,
|
||||
status,create_time,create_by,
|
||||
update_time,update_by,compound_cn_name
|
||||
</sql>
|
||||
<!-- 合并委托、任务、筛查表-->
|
||||
<sql id="queryCommoneBusinessSql">
|
||||
SELECT T.id,
|
||||
|
||||
@@ -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="digital.laboratory.platform.inspection.mapper.TestRecordSampledataExpandMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="digital.laboratory.platform.inspection.entity.TestRecordSampleDataExpand">
|
||||
<id property="id" column="exp_id" jdbcType="VARCHAR"/>
|
||||
<result property="testDataId" column="test_data_id" jdbcType="VARCHAR"/>
|
||||
<result property="peakArea" column="peak_area" jdbcType="DECIMAL"/>
|
||||
<result property="basePeak" column="base_peak" jdbcType="TINYINT"/>
|
||||
<result property="ionAbundanceRatio" column="ion_abundance_ratio" jdbcType="DECIMAL"/>
|
||||
<result property="ionAbundanceRatioError" column="ion_abundance_ratio_error" jdbcType="DECIMAL"/>
|
||||
<result property="ionAbundanceRatioWithinError" column="ion_abundance_ratio_within_error" jdbcType="VARCHAR"/>
|
||||
<result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
exp_id,test_data_id,peak_area,
|
||||
base_peak,ion_abundance_ratio,ion_abundance_ratio_error,
|
||||
ion_abundance_ratio_within_error,create_by,create_time,
|
||||
update_by,update_time
|
||||
</sql>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user