소스 검색

排序问题

wangfeng 4 년 전
부모
커밋
e956d83fc8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      cdssman-service/src/main/resources/mapper/UserRoleMapper.xml

+ 1 - 0
cdssman-service/src/main/resources/mapper/UserRoleMapper.xml

@@ -42,5 +42,6 @@
         <if test="hospitalId !=null">
             and hospital_id = #{hospitalId}
         </if>
+        ORDER BY a.gmt_modified DESC
     </select>
 </mapper>