生物安全排序
This commit is contained in:
@@ -53,6 +53,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="sheepfoldId != null "> and sd.sheepfold_id = #{sheepfoldId}</if>
|
||||
</where>
|
||||
ORDER BY datetime DESC
|
||||
<choose>
|
||||
<when test="orderByColumn == 'begindate'">, begindate ${isAsc}</when>
|
||||
<when test="orderByColumn == 'enddate'">, enddate ${isAsc}</when>
|
||||
<when test="orderByColumn == 'parity'">, parity ${isAsc}</when>
|
||||
</choose>
|
||||
</select>
|
||||
|
||||
<select id="selectDiagnosisById" parameterType="Long" resultMap="DiagnosisResult">
|
||||
|
||||
Reference in New Issue
Block a user