浏览代码

机构列表排序

plf 4 年之前
父节点
当前提交
32bffa8525
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/resources/mapper/ProductMapper.xml

+ 2 - 0
src/main/resources/mapper/ProductMapper.xml

@@ -22,7 +22,9 @@
             OR u.userName LIKE CONCAT('%',#{name}, '%')
             )
         </if>
+        ORDER BY u.registerTime DESC
     </select>
+
     <select id="findProductList" resultType="com.caimei.model.vo.ProductVo">
         select
         cop.id as productId,