Pārlūkot izejas kodu

拍品列表查询修改

linhui.li 3 nedēļas atpakaļ
vecāks
revīzija
f32cc488d5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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>