Commit 08f7c785 authored by hezhen's avatar hezhen

123

parent 9b8202eb
......@@ -37,16 +37,16 @@
t.name as typeName,
(
CASE
WHEN end_time >=#{time} THEN
end_time -#{time}
WHEN a.end_time >=#{time} THEN
a.end_time -#{time}
ELSE
0
END
) AS orderSort ,
( CASE
WHEN start_time <= #{time} and end_time > #{time} THEN
WHEN a.start_time <= #{time} and a.end_time > #{time} THEN
2
WHEN start_time > #{time} THEN
WHEN a.start_time > #{time} THEN
1
ELSE
3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment