|
|
@@ -82,16 +82,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{id}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="status==1">
|
|
|
+ <if test="lot.status==1">
|
|
|
and status in ('Starting','Bidding')
|
|
|
</if>
|
|
|
- <if test="status==2">
|
|
|
+ <if test="lot.status==2">
|
|
|
and status ='Waiting' and now()>start_time
|
|
|
</if>
|
|
|
- <if test="status==3">
|
|
|
+ <if test="lot.status==3">
|
|
|
and status ='Sold'
|
|
|
</if>
|
|
|
- <if test="status==4">
|
|
|
+ <if test="lot.status==4">
|
|
|
and now()+ interval '1 hour'>end_time and status in ('Starting','Bidding')
|
|
|
</if>
|
|
|
|