inspect-server/src/main/resources/mapper/InsOrderMapper.xml
@@ -202,11 +202,12 @@ AND io.laboratory=#{laboratory} </if> GROUP BY io.id,type order by type desc,io.id desc order by (io.sample_date is null) asc, io.sample_date desc, io.id desc ) a <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> ${ew.customSqlSegment} </if> ORDER BY (a.sample_date IS NULL) ASC, a.sample_date DESC, a.id DESC </select> <select id="selectInsOrderParameter" resultType="com.ruoyi.inspect.pojo.InsOrder">