‘linchangsheng’ 1 місяць тому
батько
коміт
8a4888d6be
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      src/main/resources/mapper/GoodsSpecDetailMapper.xml

+ 3 - 0
src/main/resources/mapper/GoodsSpecDetailMapper.xml

@@ -158,6 +158,9 @@
                 <if test="sort != null and sort==4">
                     order by a.create_time desc
                 </if>
+                <if test="sort != null and sort==5">
+                    order by a.update_time desc
+                </if>
     </select>
 
 </mapper>