查询界面排序修改

This commit is contained in:
jiangs 2026-04-15 18:02:51 +08:00
parent 21bce7651c
commit 67d8c0d3f7
2 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,7 @@
<if test="brlyname != null and brlyname != ''"> and brlyname = #{brlyname}</if>
<if test="yljg != null and yljg != ''"> and yljg = #{yljg}</if>
<if test="barcode_zt != null and barcode_zt !=''">and barcode_zt = #{barcode_zt}</if>
order by barcode_zt
</select>
<select id="getLisReportDetail" resultType="map">

View File

@ -20,7 +20,12 @@
<if test="DateType == '采样时间'">and (a.AffirmTime between #{DateStart} and #{DateEnd}) </if>
<if test="DateType == '送出时间'">and (a.SendPackTime between #{DateStart} and #{DateEnd}) </if>
<if test="DateType == '签收时间'">and (a.SignInTime between #{DateStart} and #{DateEnd}) </if>
order by a.patname
order by
<if test="DateType == '登记时间'">a.OrderTime desc,</if>
<if test="DateType == '采样时间'">a.AffirmTime desc,</if>
<if test="DateType == '送出时间'">a.SendPackTime desc,</if>
<if test="DateType == '签收时间'">a.SignInTime desc,</if>
a.patname
</select>
<select id="getRegTransitSampleDetail" resultType="com.transitPlatForm.common.core.domain.entity.reg.RegTransitSampleDetail">