linhui.li 3 недель назад
Родитель
Сommit
193881e115
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      lot/src/main/resources/mapper/LotMapper.xml

+ 1 - 2
lot/src/main/resources/mapper/LotMapper.xml

@@ -72,9 +72,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <where>
             <if test="lot.name != null  and lot.name != ''"> and name like concat('%', #{lot.name}, '%')</if>
             <if test="lot.pubStatus != null "> and pub_status  = #{lot.pubStatus}</if>
-            and auction_id = #{lot.auctionId}
         </where>
-        order by sort asc,id desc
+        order by sort desc,id desc
     </select>
     <select id="selectLotByGroupIds" parameterType="Long" resultMap="LotResult">
         <include refid="selectLotVo"/>