change 4 жил өмнө
parent
commit
08a34c6827

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

@@ -281,6 +281,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
           <if test="goodsStatus != null and goodsStatus != ''">
             and g.goods_status = #{goodsStatus}
         </if>
+        order by g.create_time desc
     </select>
 
     <select id="selectUserDetail" parameterType="map" resultMap="GoodsResultVo">