Commit 25e74661 authored by cq990612's avatar cq990612

优化代码结构

parent 1f64c0d2
......@@ -429,7 +429,7 @@
select d.id as 'dept_id' ,d.dept_name,u.id as 'user_id',u.name as 'user_name',c.work_day
from work_user u LEFT JOIN work_collect c ON u.id = c.user_id LEFT JOIN work_dept d on u.dept_id = d.id
<where>
u.submit_order = 1 and u.`status` = 1 and c.`status` !=3
u.submit_order = 1 and u.`status` = 1 and c.`status` !=3 and c.total_time = 8
<if test=" startDate !=null and endDate !=null">
and c.work_day between #{startDate} and #{endDate}
</if>
......
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