人事考勤数据分析取消del=0限制
This commit is contained in:
@@ -164,14 +164,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
sop.finish_time, sop.delivery, sop.guarantee, sop.introduction, sop.project_grade, sop.project_status, sop.contract_id, sop.invoice_name,
|
||||
sop.invoice_number, sop.invoice_address, sop.invoice_bank, sop.accessory, sop.bail,sop.is_postpone, sop.postpone_reason,sop.postpone_time
|
||||
FROM sys_user su
|
||||
left join sys_oa_attendance soa on (su.user_id = soa.user_id and soa.del_flag='0' AND (soa.create_time BETWEEN #{firstDay} AND #{lastDay}))
|
||||
left join sys_oa_attendance soa on (su.user_id = soa.user_id and (soa.create_time BETWEEN #{firstDay} AND #{lastDay}))
|
||||
left join sys_oa_project sop on soa.project_id = sop.project_id
|
||||
WHERE su.user_id IN
|
||||
<foreach item="userId" index="index" collection="userIds"
|
||||
open="(" separator="," close=")">
|
||||
#{userId}
|
||||
</foreach>
|
||||
and su.del_flag = '0'
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user