Commit bb1cffe4 by huluobin

考勤

parent c0bb34dd
......@@ -4,8 +4,8 @@
<select id="appliedList" resultType="com.gogirl.domain.store.oa.TakeLeaveEvent">
SELECT *
from take_leave_event
where (start_time &lt; #{endTime} and end_time &gt; #{endTime}
or start_time &lt; #{startTime} and start_time &gt; #{startTime})
where (start_time &lt; #{endTime} and end_time &gt;= #{endTime}
or start_time &lt;= #{startTime} and start_time &gt;= #{startTime})
and apply_technician_id = #{applyTechnicianId}
and `status` != 3
</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