|
@@ -175,9 +175,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
</select>
|
|
|
<select id="getMonitorJobTicketPage" resultType="com.ktg.iscs.domain.vo.ticket.MonitorTicketPageVO">
|
|
<select id="getMonitorJobTicketPage" resultType="com.ktg.iscs.domain.vo.ticket.MonitorTicketPageVO">
|
|
|
SELECT
|
|
SELECT
|
|
|
- j.*
|
|
|
|
|
|
|
+ j.*, w.workarea_name
|
|
|
FROM
|
|
FROM
|
|
|
is_job_ticket j
|
|
is_job_ticket j
|
|
|
|
|
+ left join is_workarea w on w.workarea_id = j.workarea_id
|
|
|
<where>
|
|
<where>
|
|
|
(j.ticket_status != 4 OR ( j.ticket_end_time > CURDATE() AND j.ticket_status = 4 ))
|
|
(j.ticket_status != 4 OR ( j.ticket_end_time > CURDATE() AND j.ticket_status = 4 ))
|
|
|
<if test="dto.ticketCode != null and dto.ticketCode.trim != ''">
|
|
<if test="dto.ticketCode != null and dto.ticketCode.trim != ''">
|