Commit 8b655154 authored by zhoushiguang's avatar zhoushiguang

事件未结束补充当前时间作为截止时间

parent 1d70fddd
......@@ -436,7 +436,7 @@
<select id="getListByStartAndEnd" parameterType="java.util.Map" resultType="java.util.Map">
SELECT DATE_FORMAT(start_time,'%Y-%m-%d %H:%i:%s') startTime,
DATE_FORMAT(end_time,'%Y-%m-%d %H:%i:%s') endTime,
DATE_FORMAT(ifnull(end_time,now()) ,'%Y-%m-%d %H:%i:%s') endTime,
ABS(TIMESTAMPDIFF( SECOND, start_time, ifnull(end_time,now()) )) AS duration,
info.type,
c.label as typeName,
......
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