生物安全排序
This commit is contained in:
@@ -61,6 +61,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="veterinary != null and veterinary != ''"> and veterinary = #{veterinary}</if>
|
||||
</where>
|
||||
ORDER BY datetime DESC
|
||||
<choose>
|
||||
<when test="orderByColumn == 'monthAge'">, month_age ${isAsc}</when>
|
||||
<when test="orderByColumn == 'parity'">, parity ${isAsc}</when>
|
||||
<when test="orderByColumn == 'lactDay'">, lact_day ${isAsc}</when>
|
||||
<when test="orderByColumn == 'gestDay'">, gest_day ${isAsc}</when>
|
||||
|
||||
</choose>
|
||||
</select>
|
||||
|
||||
<select id="selectTreatmentById" parameterType="Long" resultMap="TreatmentResult">
|
||||
|
||||
Reference in New Issue
Block a user