Commit 8436c5f1 by huluobin

考勤

parent cb4c402c
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
<select id="appliedList" resultType="com.gogirl.domain.store.oa.TakeLeaveEvent"> <select id="appliedList" resultType="com.gogirl.domain.store.oa.TakeLeaveEvent">
SELECT * SELECT *
from take_leave_event from take_leave_event
where (start_time &lt; #{endTime} and end_time &gt; #{endTime} where ((start_time &lt;= #{endTime} and end_time &gt;= #{endTime})
or start_time &lt; #{startTime} and start_time &gt; #{startTime}) or (start_time &lt; #{startTime} and start_time &gt; #{startTime})
or (start_time &gt;= #{startTime} and end_time &lt;= #{endTime}))
and apply_technician_id = #{applyTechnicianId} and apply_technician_id = #{applyTechnicianId}
and `status` != 3 and `status` != 3
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment