Commit c54e48f2 by ilal

提交

parent c86f7672
......@@ -18,6 +18,8 @@ public class AttendanceSummaryQueryDto extends Page {
private String query;
private String times;
private Integer attid;
private Integer turnover_status;
private String year;
private String month;
......
......@@ -133,7 +133,7 @@
LEFT JOIN zzgl_bmgw_m as gw on gw.id = emp.bmgw_id
LEFT JOIN zzgl_bmgw_m as c ON c.id = gw.up_id
where emp.org_code = #{orgcode}
and emp.job_status != 3
<!-- and emp.job_status != 3 -->
</select>
<select id="RealTimeUpdate" resultMap="AdditionalMap">
......
......@@ -288,6 +288,9 @@
<if test="param.attid != null and param.attid != ''">
and sum.att_group = #{param.attid}
</if>
<if test="param.turnover_status == 1">
and sum.num not in (select em.emp_num from yggl_main_lzb em where em.org_code = #{param.orgCode} and em.job_status = 3)
</if>
<!-- yz.id as yzid,
yz.leave_rules_id as leaverulesid,
......@@ -479,6 +482,9 @@
<if test="param.attid != null and param.attid != ''">
and sum.att_group = #{param.attid}
</if>
<if test="param.turnover_status == 1">
and sum.num not in (select em.emp_num from yggl_main_lzb em where em.org_code = #{param.orgCode} and em.job_status = 3)
</if>
<!-- LEFT JOIN kqgl_asso_leave_employee_balance as mrtj on mrtj.userid = sum.num
IFNULL(mrtj.leave_rules_id,'') as leaverulesid,
......
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