浏览代码

拍品列表查询修改

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>