Browse Source

机构列表排序

plf 4 years ago
parent
commit
32bffa8525
1 changed files with 2 additions and 0 deletions
  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,