linhui.li 3 тижнів тому
батько
коміт
f32cc488d5
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      lot/src/main/resources/mapper/LotMapper.xml

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

@@ -72,7 +72,7 @@ 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>
-            <if test="auctionId!=null">and auction_id=#{auctionId}</if>
+            <if test="lot.auctionId!=null">and auction_id=#{lot.auctionId}</if>
         </where>
         order by sort desc,id desc
     </select>