pad首页服务指令:查询条件调整 - (没到结束时间 且 未点结束) 或者 (已经点了开始 没点结束)
This commit is contained in:
parent
2723130f6b
commit
75c5a25f25
|
|
@ -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)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue