|
@@ -7,7 +7,7 @@
|
|
<resultMap type="MeasDataResults" id="MeasDataResultsResult">
|
|
<resultMap type="MeasDataResults" id="MeasDataResultsResult">
|
|
<result property="id" column="id"/>
|
|
<result property="id" column="id"/>
|
|
<result property="measurementBatchId" column="measurement_batch_id"/>
|
|
<result property="measurementBatchId" column="measurement_batch_id"/>
|
|
- <result property="model" column="model"/>
|
|
|
|
|
|
+ <result property="engineModel" column="engine_model"/>
|
|
<result property="geometryFiles" column="geometry_files"/>
|
|
<result property="geometryFiles" column="geometry_files"/>
|
|
<result property="geometryImage" column="geometry_image"/>
|
|
<result property="geometryImage" column="geometry_image"/>
|
|
<result property="measurementBatch" column="measurement_batch"/>
|
|
<result property="measurementBatch" column="measurement_batch"/>
|
|
@@ -27,7 +27,7 @@
|
|
SELECT
|
|
SELECT
|
|
mdr.id,
|
|
mdr.id,
|
|
med.id measurement_batch_id,
|
|
med.id measurement_batch_id,
|
|
- mem.model,
|
|
|
|
|
|
+ mem.model engine_model
|
|
mem.geometry_files,
|
|
mem.geometry_files,
|
|
mem.geometry_image,
|
|
mem.geometry_image,
|
|
mb.measurement_batch,
|
|
mb.measurement_batch,
|
|
@@ -51,12 +51,12 @@
|
|
<select id="selectMeasDataResultsList" parameterType="MeasDataResults" resultMap="MeasDataResultsResult">
|
|
<select id="selectMeasDataResultsList" parameterType="MeasDataResults" resultMap="MeasDataResultsResult">
|
|
<include refid="selectMeasDataResultsVo"/>
|
|
<include refid="selectMeasDataResultsVo"/>
|
|
<where>
|
|
<where>
|
|
- <if test="measurementBatch != null and measurementBatch != ''">and mdr.measurement_batch = #{measurementBatch}</if>
|
|
|
|
- <if test="model != null and model != ''">and med.model =
|
|
|
|
- #{model}
|
|
|
|
|
|
+ <if test="measurementBatch != null and measurementBatch != ''">and mb.measurement_batch = #{measurementBatch}</if>
|
|
|
|
+ <if test="engineModel != null and engineModel != ''">and mem.model =
|
|
|
|
+ #{engineModel}
|
|
</if>
|
|
</if>
|
|
- <if test="engineStatus != null and engineStatus != ''">and mdr.engine_status = #{engineStatus}</if>
|
|
|
|
- <if test="angle != null and angle != ''">and mdr.angle = #{angle}</if>
|
|
|
|
|
|
+ <if test="engineStatus != null and engineStatus != ''">and med.engine_status = #{engineStatus}</if>
|
|
|
|
+ <if test="angle != null and angle != ''">and med.angle = #{angle}</if>
|
|
<if test="specIrr2 != null and specIrr2 != ''">and mdr.spec_irr_2 = #{specIrr2}</if>
|
|
<if test="specIrr2 != null and specIrr2 != ''">and mdr.spec_irr_2 = #{specIrr2}</if>
|
|
<if test="specBandIrr1 != null ">and mdr.spec_band_irr_1 = #{specBandIrr1}</if>
|
|
<if test="specBandIrr1 != null ">and mdr.spec_band_irr_1 = #{specBandIrr1}</if>
|
|
<if test="specBandIrr2 != null ">and mdr.spec_band_irr_2 = #{specBandIrr2}</if>
|
|
<if test="specBandIrr2 != null ">and mdr.spec_band_irr_2 = #{specBandIrr2}</if>
|