Compare commits
2 Commits
ef8d2fab4d
...
12bcf7c398
| Author | SHA1 | Date |
|---|---|---|
|
|
12bcf7c398 | |
|
|
b8bca21231 |
|
|
@ -187,7 +187,7 @@
|
||||||
case when c.state = 1 then 1
|
case when c.state = 1 then 1
|
||||||
when c.state = 2 and c.start_time > now() then 2
|
when c.state = 2 and c.start_time > now() then 2
|
||||||
when c.state = 2 and c.start_time <= now() and c.end_time > now() then 3
|
when c.state = 2 and c.start_time <= now() and c.end_time > now() then 3
|
||||||
when c.state = 2 and c.end_time >= now() then 4
|
when c.state = 2 and c.end_time <= now() then 4
|
||||||
|
|
||||||
end class_state,
|
end class_state,
|
||||||
c.valid_start_time,
|
c.valid_start_time,
|
||||||
|
|
@ -224,7 +224,7 @@
|
||||||
and c.state = 2 and c.start_time > now()
|
and c.state = 2 and c.start_time > now()
|
||||||
</if>
|
</if>
|
||||||
<if test = "params.eqState = 3">
|
<if test = "params.eqState = 3">
|
||||||
and c.state = 2 and c.end_time > now()
|
and c.state = 2 and c.end_time > now() and c.start_time <= now()
|
||||||
</if>
|
</if>
|
||||||
<if test = "params.eqState = 4">
|
<if test = "params.eqState = 4">
|
||||||
and c.state = 2 and c.end_time <= now()
|
and c.state = 2 and c.end_time <= now()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue