Commit 08f7c785 authored by hezhen's avatar hezhen

123

parent 9b8202eb
...@@ -37,16 +37,16 @@ ...@@ -37,16 +37,16 @@
t.name as typeName, t.name as typeName,
( (
CASE CASE
WHEN end_time >=#{time} THEN WHEN a.end_time >=#{time} THEN
end_time -#{time} a.end_time -#{time}
ELSE ELSE
0 0
END END
) AS orderSort , ) AS orderSort ,
( CASE ( CASE
WHEN start_time <= #{time} and end_time > #{time} THEN WHEN a.start_time <= #{time} and a.end_time > #{time} THEN
2 2
WHEN start_time > #{time} THEN WHEN a.start_time > #{time} THEN
1 1
ELSE ELSE
3 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