Просмотр исходного кода

分类查询拍品接口修改

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

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

@@ -503,7 +503,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 and status in ('Starting','Bidding')
                 and status in ('Starting','Bidding')
             </if>
             </if>
             <if test="status==2">
             <if test="status==2">
-                and status ='Waiting'
+                and status ='Waiting' and now()>start_time
             </if>
             </if>
             <if test="status==3">
             <if test="status==3">
                 and status ='Sold'
                 and status ='Sold'