You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
885 B
24 lines
885 B
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="com.epmet.dao.IcEventOperationLogDao">
|
|
|
|
<select id="selectByEventId" resultType="com.epmet.dto.result.IcEventProcessListResultDTO">
|
|
SELECT
|
|
id processId,
|
|
'demand' type,
|
|
if(action_desc = 'shift_demand', '转服务', '需求完成') processName,
|
|
UNIX_TIMESTAMP(created_time) processTime,
|
|
operate_time serviceTime,
|
|
service_party serviceParty,
|
|
actual_service_time actualServiceTime
|
|
FROM
|
|
ic_event_operation_log
|
|
WHERE
|
|
del_flag = '0'
|
|
AND action_desc in('shift_demand','close_demand')
|
|
AND ic_event_id = #{icEventId}
|
|
ORDER BY created_time DESC
|
|
</select>
|
|
|
|
</mapper>
|