|
@@ -19,7 +19,7 @@
|
19
|
19
|
t.update_time
|
20
|
20
|
</sql>
|
21
|
21
|
|
22
|
|
- <select id="findDead" parameterType="java.lang.Integer" resultType="java.lang.Integer" >
|
|
22
|
+ <select id="findDead" parameterType="java.util.HashMap" resultType="java.lang.Integer" >
|
23
|
23
|
SELECT t.id
|
24
|
24
|
FROM xxl_job_registry AS t
|
25
|
25
|
WHERE t.update_time <![CDATA[ < ]]> DATE_ADD(#{nowTime},INTERVAL -#{timeout} SECOND)
|
|
@@ -33,7 +33,7 @@
|
33
|
33
|
</foreach>
|
34
|
34
|
</delete>
|
35
|
35
|
|
36
|
|
- <select id="findAll" parameterType="java.lang.Integer" resultMap="XxlJobRegistry">
|
|
36
|
+ <select id="findAll" parameterType="java.util.HashMap" resultMap="XxlJobRegistry">
|
37
|
37
|
SELECT <include refid="Base_Column_List" />
|
38
|
38
|
FROM xxl_job_registry AS t
|
39
|
39
|
WHERE t.update_time <![CDATA[ > ]]> DATE_ADD(#{nowTime},INTERVAL -#{timeout} SECOND)
|