Commit deb8f82e authored by duanruiming's avatar duanruiming

[update] 控制模式列表去重

parent 2df5e8bb
......@@ -53,7 +53,7 @@
<select id="selectRecentList" resultMap="tCrossControlHist">
select
<include refid="Base_Column_List"></include>
distinct cross_id, type, start_time, gmt_create, gmt_modified, operation_user
from t_cross_control_hist t1 left join
(select cross_id crossId, max(start_time) startTime from t_cross_control_hist group by cross_id) t2
on t1.cross_id = t2.crossId
......
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