소스 검색

搜索条件新增

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