|
@@ -105,13 +105,13 @@
|
|
|
and packageId = #{packageId}
|
|
|
</if>
|
|
|
<if test='status == "1"'>
|
|
|
- and endTime > NOW()
|
|
|
+ and NOW() between cs.beginTime and cs.endTime
|
|
|
</if>
|
|
|
<if test='status == "2"'>
|
|
|
- and NOW() > endTime
|
|
|
+ and NOW() > cs.endTime
|
|
|
</if>
|
|
|
<if test='status == "3"'>
|
|
|
- and beginTime > NOW()
|
|
|
+ and cs.beginTime > NOW()
|
|
|
</if>
|
|
|
order by cs.payTime desc
|
|
|
</select>
|