allen 9 ماه پیش
والد
کامیت
d70d44136c

+ 1 - 0
meas-system/src/main/resources/mapper/meas/MeasBatchMapper.xml

@@ -39,6 +39,7 @@
                 #{measurementBatch}
                 #{measurementBatch}
             </if>
             </if>
         </where>
         </where>
+        order by mb.create_time desc
     </select>
     </select>
 
 
     <select id="selectMeasBatchById" parameterType="Long" resultMap="MeasBatchResult">
     <select id="selectMeasBatchById" parameterType="Long" resultMap="MeasBatchResult">

+ 1 - 0
meas-system/src/main/resources/mapper/meas/MeasDataResultsMapper.xml

@@ -61,6 +61,7 @@
             <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>
         </where>
         </where>
+        order by med.create_time desc
     </select>
     </select>
 
 
     <select id="selectMeasDataResultsById" parameterType="Long" resultMap="MeasDataResultsResult">
     <select id="selectMeasDataResultsById" parameterType="Long" resultMap="MeasDataResultsResult">

+ 1 - 0
meas-system/src/main/resources/mapper/meas/MeasEngineModelMapper.xml

@@ -27,6 +27,7 @@
             <if test="geometryFiles != null  and geometryFiles != ''">and geometry_files = #{geometryFiles}</if>
             <if test="geometryFiles != null  and geometryFiles != ''">and geometry_files = #{geometryFiles}</if>
             <if test="geometryImage != null  and geometryImage != ''">and geometry_image = #{geometryImage}</if>
             <if test="geometryImage != null  and geometryImage != ''">and geometry_image = #{geometryImage}</if>
         </where>
         </where>
+        order by model
     </select>
     </select>
 
 
     <select id="selectMeasEngineModelById" parameterType="Long" resultMap="MeasEngineModelResult">
     <select id="selectMeasEngineModelById" parameterType="Long" resultMap="MeasEngineModelResult">

+ 1 - 0
meas-system/src/main/resources/mapper/meas/MeasEnvDataMapper.xml

@@ -75,6 +75,7 @@
             <if test="humidity != null ">and humidity = #{humidity}</if>
             <if test="humidity != null ">and humidity = #{humidity}</if>
             <if test="concentration != null ">and concentration = #{concentration}</if>
             <if test="concentration != null ">and concentration = #{concentration}</if>
         </where>
         </where>
+        order by med.create_time desc
     </select>
     </select>
 
 
     <select id="selectMeasEnvDataById" parameterType="Long" resultMap="MeasEnvDataResult">
     <select id="selectMeasEnvDataById" parameterType="Long" resultMap="MeasEnvDataResult">

+ 1 - 0
meas-system/src/main/resources/mapper/meas/MeasSpectralRadiationMapper.xml

@@ -80,6 +80,7 @@
             <if test="radiance1 != null  and radiance1 != ''">and radiance_1 = #{radiance1}</if>
             <if test="radiance1 != null  and radiance1 != ''">and radiance_1 = #{radiance1}</if>
             <if test="radiance2 != null  and radiance2 != ''">and radiance_2 = #{radiance2}</if>
             <if test="radiance2 != null  and radiance2 != ''">and radiance_2 = #{radiance2}</if>
         </where>
         </where>
+        order by med.create_time desc
     </select>
     </select>
 
 
     <select id="selectMeasSpectralRadiationById" parameterType="Long" resultMap="MeasSpectralRadiationResult">
     <select id="selectMeasSpectralRadiationById" parameterType="Long" resultMap="MeasSpectralRadiationResult">

+ 1 - 0
meas-system/src/main/resources/mapper/meas/MeasThermalImagerTestDataMapper.xml

@@ -82,6 +82,7 @@
             <if test="radIllumination != null  and radIllumination != ''">and rad_illumination = #{radIllumination}</if>
             <if test="radIllumination != null  and radIllumination != ''">and rad_illumination = #{radIllumination}</if>
             <if test="radTemp != null  and radTemp != ''">and rad_temp = #{radTemp}</if>
             <if test="radTemp != null  and radTemp != ''">and rad_temp = #{radTemp}</if>
         </where>
         </where>
+        order by med.create_time desc
     </select>
     </select>
 
 
     <select id="selectMeasThermalImagerTestDataById" parameterType="Long" resultMap="MeasThermalImagerTestDataResult">
     <select id="selectMeasThermalImagerTestDataById" parameterType="Long" resultMap="MeasThermalImagerTestDataResult">

+ 1 - 0
meas-system/src/main/resources/mapper/meas/MeasTransmissionRateMapper.xml

@@ -61,6 +61,7 @@
             <if test="curve1 != null  and curve1 != ''">and curve_1 = #{curve1}</if>
             <if test="curve1 != null  and curve1 != ''">and curve_1 = #{curve1}</if>
             <if test="curve2 != null  and curve2 != ''">and curve_2 = #{curve2}</if>
             <if test="curve2 != null  and curve2 != ''">and curve_2 = #{curve2}</if>
         </where>
         </where>
+        order by med.create_time desc
     </select>
     </select>
 
 
     <select id="selectMeasTransmissionRateById" parameterType="Long" resultMap="MeasTransmissionRateResult">
     <select id="selectMeasTransmissionRateById" parameterType="Long" resultMap="MeasTransmissionRateResult">