pad首页服务指令:查询条件调整 - (没到结束时间 且 未点结束) 或者 (已经点了开始 没点结束)

This commit is contained in:
1378012178@qq.com 2026-03-31 13:53:30 +08:00
parent 2723130f6b
commit 75c5a25f25
1 changed files with 1 additions and 2 deletions

View File

@ -579,8 +579,7 @@
</when>
<when test='entity.workType == "5"'>
AND (
(t.serv_start_time <![CDATA[ <= ]]> NOW()
AND t.serv_end_time >= NOW()
( t.serv_end_time >= NOW()
AND t.emp_end_time IS NULL)
OR (t.emp_start_time IS NOT NULL AND t.emp_end_time IS NULL)
)