20250327 更新
1.对检验数据中的保留时间相对偏差、丰度比、丰度比偏差进行小数位格式化
This commit is contained in:
@@ -21,6 +21,19 @@
|
||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="VOMap" type="digital.laboratory.platform.inspection.vo.TestRecordSampleDataExpandVO">
|
||||
<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="fragmentRetTime" column="fragment_ret_time" jdbcType="DECIMAL"/>
|
||||
<result property="massToChargeRatio" column="mass_to_charge_ratio" jdbcType="DECIMAL"/>
|
||||
<result property="qualitativeIonPair" column="qualitative_ion_pair" jdbcType="VARCHAR"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
exp.exp_id,
|
||||
exp.test_data_id,
|
||||
@@ -45,7 +58,7 @@
|
||||
LEFT JOIN b_test_record_sampledata test ON exp.test_data_id = test.id
|
||||
</sql>
|
||||
|
||||
<select id="queryExpandDataByTestDataId" resultMap="BaseResultMap" resultType="digital.laboratory.platform.inspection.entity.TestRecordSampleDataExpand">
|
||||
<select id="queryExpandDataByTestDataId" resultMap="VOMap" resultType="digital.laboratory.platform.inspection.entity.TestRecordSampleDataExpand">
|
||||
SELECT
|
||||
<include refid="Base_Column_List"></include>
|
||||
FROM b_test_record_sampledata_expand exp WHERE exp.test_data_id = #{testDataId}
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<result property="whetherCheckOut" column="whether_check_out" jdbcType="VARCHAR"/>
|
||||
<collection
|
||||
property="expandList"
|
||||
ofType="digital.laboratory.platform.inspection.entity.TestRecordSampleDataExpand"
|
||||
ofType="digital.laboratory.platform.inspection.vo.TestRecordSampleDataExpandVO"
|
||||
javaType="java.util.List"
|
||||
column="id"
|
||||
select="digital.laboratory.platform.inspection.mapper.TestRecordSampleDataExpandMapper.queryExpandDataByTestDataId" />
|
||||
|
||||
Reference in New Issue
Block a user