소스 검색

fix:教学学生排序 -> id

caozixuan 3 년 전
부모
커밋
22005bbfd7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      distributed-print-business/src/main/resources/mapper/TeachStudentMapper.xml

+ 1 - 1
distributed-print-business/src/main/resources/mapper/TeachStudentMapper.xml

@@ -32,6 +32,6 @@
                 AND (bs.student_name LIKE CONCAT('%',#{studentInfo},'%') OR bs.student_code LIKE CONCAT('%',#{studentInfo},'%'))
             </if>
         </where>
-        ORDER BY ts.create_time DESC
+        ORDER BY id
     </select>
 </mapper>