yin 8 ヶ月 前
コミット
f079b9cb78
1 ファイル変更1 行追加2 行削除
  1. 1 2
      src/main/resources/mapper/BatchMapper.xml

+ 1 - 2
src/main/resources/mapper/BatchMapper.xml

@@ -203,8 +203,7 @@
         where b.exam_id = #{examId}
         and b.status = #{batchStatus}
         and b.check_status = #{checkStatus}
-        order by b.id
-        <if test="batchId != null">#{checkOrder}</if>
+        order by b.id  #{checkOrder}
     </select>
 
     <select id="getHistory"