From 8853292babb2ad94de4a3207966f1e83b767cd2d Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sun, 17 Sep 2023 16:38:34 +0800
Subject: [PATCH] 新增流程节点进程查询接口

---
 src/main/java/org/springblade/modules/quartz/mapper/ScheduledJobMapper.xml |   59 -----------------------------------------------------------
 1 files changed, 0 insertions(+), 59 deletions(-)

diff --git a/src/main/java/org/springblade/modules/quartz/mapper/ScheduledJobMapper.xml b/src/main/java/org/springblade/modules/quartz/mapper/ScheduledJobMapper.xml
index ee015e5..ccd36af 100644
--- a/src/main/java/org/springblade/modules/quartz/mapper/ScheduledJobMapper.xml
+++ b/src/main/java/org/springblade/modules/quartz/mapper/ScheduledJobMapper.xml
@@ -27,63 +27,4 @@
         order by id desc
     </select>
 
-    <select id="exportAttendane" resultType="org.springblade.modules.scheduledJob.excel.AttendanceExcel">
-        select
-        sa.clock_time clockTime,
-        bu.real_name realName,
-        bd.dept_name deptName,
-        if(sa.clock_type=1,'上班','下班') clockType,
-        case when sa.scheduledJob_type=1 then '正常'
-        when sa.scheduledJob_type=2 then '迟到'
-        when sa.scheduledJob_type=3 then '早退'
-        else '无效打卡' end as scheduledJobType
-         from sys_scheduledJob sa
-        left join blade_user bu on bu.id = sa.user_id
-        left join blade_dept bd on bd.id = sa.dept_id
-        where 1=1
-        <if test="scheduledJob.realName!=null and scheduledJob.realName!=''">
-            and bu.real_name like concat('%',#{scheduledJob.realName},'%')
-        </if>
-        <if test="scheduledJob.deptId!=null">
-            and sa.dept_id = #{scheduledJob.deptId}
-        </if>
-        <if test="scheduledJob.userId!=null">
-            and sa.user_id = #{scheduledJob.userId}
-        </if>
-        <if test="scheduledJob.clockType!=null">
-            and sa.clock_type = #{scheduledJob.clockType}
-        </if>
-        <if test="scheduledJob.scheduledJobType!=null">
-            and sa.scheduledJob_type = #{scheduledJob.scheduledJobType}
-        </if>
-        <if test="scheduledJob.beginTime!=null and scheduledJob.beginTime!=''">
-            and sa.clock_time&gt;=#{scheduledJob.beginTime}
-        </if>
-        <if test="scheduledJob.endTime!=null and scheduledJob.endTime!=''">
-            and sa.clock_time&lt;=#{scheduledJob.endTime}
-        </if>
-        order by sa.id desc
-    </select>
-
-    <!--查询当前考勤人员当天的考勤信息-->
-    <select id="selAttendanceListNow" resultType="org.springblade.modules.scheduledJob.entity.Attendance">
-        select * from sys_scheduledJob
-            where
-        number = #{number}
-            and
-        to_days(now())=to_days(clock_time)
-    </select>
-
-    <!--查询当前时间之前最新的一条数据-->
-    <select id="selAttendanceNewNow" resultType="org.springblade.modules.scheduledJob.entity.Attendance">
-        select * from sys_scheduledJob
-        where
-        user_id = #{userId}
-        and
-        to_days(now())=to_days(clock_time)
-		order by clock_time desc
-		limit 1
-    </select>
-
-
 </mapper>

--
Gitblit v1.9.3