浏览代码

搜索条件新增

change 4 年之前
父节点
当前提交
08a34c6827
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

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