瀏覽代碼

排序问题

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>