修改假期,节假日定时器
This commit is contained in:
parent
f4e3872bd8
commit
7ed73c85bd
|
|
@ -12,22 +12,23 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectAttDetailList" resultType="com.bonus.system.att.entity.AttDetailByMonthBean">
|
<select id="selectAttDetailList" resultType="com.bonus.system.att.entity.AttDetailByMonthBean">
|
||||||
select
|
SELECT
|
||||||
user_id as userId,
|
amr.user_id AS userId,
|
||||||
name as name,
|
amr.NAME AS NAME,
|
||||||
org_id as orgId,
|
amr.org_id AS orgId,
|
||||||
org_name as orgName,
|
org_name AS orgName,
|
||||||
att_current_month as attCurrentMonth,
|
att_current_month AS attCurrentMonth,
|
||||||
coalesce(required_days,0) as requiredDays,
|
COALESCE ( required_days, 0 ) AS requiredDays,
|
||||||
coalesce(normal_num,0) as normalNum,
|
COALESCE ( normal_num, 0 ) AS normalNum,
|
||||||
coalesce(late_num,0) as lateNum,
|
COALESCE ( late_num, 0 ) AS lateNum,
|
||||||
coalesce(early_num,0) as earlyNum,
|
COALESCE ( early_num, 0 ) AS earlyNum,
|
||||||
coalesce(skipping_num,0) as skippingNum,
|
COALESCE ( skipping_num, 0 ) AS skippingNum,
|
||||||
coalesce(leave_num,0) as leaveNum,
|
COALESCE ( leave_num, 0 ) AS leaveNum,
|
||||||
coalesce(address_error_num,0) as addressErrorNum,
|
COALESCE ( address_error_num, 0 ) AS addressErrorNum,
|
||||||
coalesce(ein_error_num,0) as einErrorNum
|
COALESCE ( ein_error_num, 0 ) AS einErrorNum
|
||||||
from att_month_report amr
|
FROM att_month_report amr
|
||||||
where amr.is_active = 1
|
left join att_group_person_relation p on p.user_id = amr.user_id
|
||||||
|
where amr.is_active = 1 and p.is_active = 1
|
||||||
and amr.required_days != amr.normal_num
|
and amr.required_days != amr.normal_num
|
||||||
<if test="attCurrentMonth != null and attCurrentMonth != '' ">
|
<if test="attCurrentMonth != null and attCurrentMonth != '' ">
|
||||||
and amr.att_current_month = #{attCurrentMonth}
|
and amr.att_current_month = #{attCurrentMonth}
|
||||||
|
|
@ -41,7 +42,7 @@
|
||||||
<if test="name != null and name != ''">
|
<if test="name != null and name != ''">
|
||||||
AND amr.name like concat('%', #{name}, '%')
|
AND amr.name like concat('%', #{name}, '%')
|
||||||
</if>
|
</if>
|
||||||
group by user_id
|
group by amr.user_id
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectAttAllList" resultType="com.bonus.system.att.entity.AttDetailByMonthBean">
|
<select id="selectAttAllList" resultType="com.bonus.system.att.entity.AttDetailByMonthBean">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue