Procházet zdrojové kódy

拍品列表查询修改

linhui.li před 3 týdny
rodič
revize
f32cc488d5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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>