解决pad超时的工单依然展现问题
This commit is contained in:
parent
59f2a9f88d
commit
33cb63076c
|
|
@ -645,7 +645,7 @@
|
||||||
dire.mp3_file,
|
dire.mp3_file,
|
||||||
dire.mp4_file
|
dire.mp4_file
|
||||||
FROM nu_biz_directive_order t
|
FROM nu_biz_directive_order t
|
||||||
INNER JOIN (SELECT DISTINCT sub.serv_start_time
|
INNER JOIN (SELECT DISTINCT sub.serv_start_time,sub.instruction_id
|
||||||
FROM nu_biz_directive_order sub
|
FROM nu_biz_directive_order sub
|
||||||
WHERE sub.nu_id = #{entity.nuId}
|
WHERE sub.nu_id = #{entity.nuId}
|
||||||
AND (
|
AND (
|
||||||
|
|
@ -656,7 +656,7 @@
|
||||||
AND (
|
AND (
|
||||||
(sub.serv_end_time >= NOW() AND sub.emp_end_time IS NULL)
|
(sub.serv_end_time >= NOW() AND sub.emp_end_time IS NULL)
|
||||||
OR (sub.emp_start_time IS NOT NULL AND sub.emp_end_time IS NULL)
|
OR (sub.emp_start_time IS NOT NULL AND sub.emp_end_time IS NULL)
|
||||||
)) tmp ON t.serv_start_time = tmp.serv_start_time
|
)) tmp ON t.serv_start_time = tmp.serv_start_time and t.instruction_id = tmp.instruction_id
|
||||||
LEFT JOIN nu_config_service_directive dire on t.directive_id = dire.id
|
LEFT JOIN nu_config_service_directive dire on t.directive_id = dire.id
|
||||||
where t.nu_id = #{entity.nuId}
|
where t.nu_id = #{entity.nuId}
|
||||||
AND (
|
AND (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue