jintao.geng 1 kuukausi sitten
vanhempi
commit
26badf5be1
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      lot/src/main/resources/mapper/LotMapper.xml

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

@@ -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>