瀏覽代碼

Merge remote-tracking branch 'origin/dev/one' into dev/one

Zhaops 6 年之前
父節點
當前提交
e4b6c37812
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      diagbotman-service/src/main/resources/mapper/LantoneProductMapper.xml

+ 1 - 0
diagbotman-service/src/main/resources/mapper/LantoneProductMapper.xml

@@ -76,6 +76,7 @@
         <if test="name != null and name != ''">
         <if test="name != null and name != ''">
             AND p.name LIKE concat ('%',#{name},'%')
             AND p.name LIKE concat ('%',#{name},'%')
         </if>
         </if>
+        ORDER BY gmt_create DESC
     </select>
     </select>
 
 
     <select id="opendedProduct" resultMap="BaseResultMap" parameterType="java.util.Map">
     <select id="opendedProduct" resultMap="BaseResultMap" parameterType="java.util.Map">