‘linchangsheng’ 1 mês atrás
pai
commit
8a4888d6be

+ 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>