上下班缺卡定时任务

This commit is contained in:
2025-02-27 10:03:24 +08:00
parent 6ef339849e
commit 4988f42d0b
13 changed files with 229 additions and 13 deletions

View File

@ -92,14 +92,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN bgt_project_recruit as b on(a.recruit_id = b.id and b.del_flag = 0 )
LEFT JOIN fbs_project_task as c ON (b.task_id = c.id AND c.del_flag = 0)
<where>
<if test="page.userId!=null and dto.userId!=0 ">
a.user_id = #{page.userId} AND
<if test="req.userId!=null and req.userId!=0 ">
a.user_id = #{req.userId} AND
</if>
<choose>
<when test="page.type!=null and page.type!='' and page.type=='1'">
<when test="req.type!=null and req.type!='' and req.type == 1">
a.status IN ('3', '5') AND
</when>
<when test="page.type!=null and page.type!='' and page.type=='2'">
<when test="req.type!=null and req.type!='' and req.type == 2">
a.status IN ('6') AND
</when>
</choose>

View File

@ -63,6 +63,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN wgz_reissueacard as e ON e.id = a.table_id
LEFT JOIN wgz_user as f ON f.id = e.user_id
</if>
<if test="page.largeType == '3' and page.smallType == '1'">
LEFT JOIN wgz_reissueacard as e ON e.id = a.table_id
LEFT JOIN wgz_user as f ON f.id = e.user_id
</if>
<if test="page.largeType == '3'">
LEFT JOIN wgz_reissueacard as e ON e.id = a.table_id
LEFT JOIN wgz_user as f ON f.id = e.user_id
</if>
<where>
a.recipient_type = "1" AND
a.recipient_id = #{page.recipientId} AND