‘linchangsheng’ hai 1 mes
pai
achega
8a4888d6be
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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>