解决pad超时的工单依然展现问题

This commit is contained in:
1378012178@qq.com 2026-04-08 13:29:16 +08:00
parent 59f2a9f88d
commit 33cb63076c
1 changed files with 2 additions and 2 deletions

View File

@ -645,7 +645,7 @@
dire.mp3_file,
dire.mp4_file
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
WHERE sub.nu_id = #{entity.nuId}
AND (
@ -656,7 +656,7 @@
AND (
(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)
)) 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
where t.nu_id = #{entity.nuId}
AND (