提交 | 用户 | 时间
|
e7c126
|
1 |
package com.xxl.job.admin.dao; |
H |
2 |
|
|
3 |
import com.xxl.job.admin.core.model.XxlJobRegistry; |
|
4 |
import org.apache.ibatis.annotations.Mapper; |
|
5 |
import org.apache.ibatis.annotations.Param; |
|
6 |
|
|
7 |
import java.util.Date; |
|
8 |
import java.util.List; |
|
9 |
|
|
10 |
/** |
|
11 |
* Created by xuxueli on 16/9/30. |
|
12 |
*/ |
|
13 |
@Mapper |
|
14 |
public interface XxlJobRegistryDao { |
|
15 |
|
|
16 |
public List<Integer> findDead(@Param("timeout") int timeout, |
|
17 |
@Param("nowTime") Date nowTime); |
|
18 |
|
|
19 |
public int removeDead(@Param("ids") List<Integer> ids); |
|
20 |
|
|
21 |
public List<XxlJobRegistry> findAll(@Param("timeout") int timeout, |
|
22 |
@Param("nowTime") Date nowTime); |
|
23 |
|
|
24 |
public int registryUpdate(@Param("registryGroup") String registryGroup, |
|
25 |
@Param("registryKey") String registryKey, |
|
26 |
@Param("registryValue") String registryValue, |
|
27 |
@Param("updateTime") Date updateTime); |
|
28 |
|
|
29 |
public int registrySave(@Param("registryGroup") String registryGroup, |
|
30 |
@Param("registryKey") String registryKey, |
|
31 |
@Param("registryValue") String registryValue, |
|
32 |
@Param("updateTime") Date updateTime); |
|
33 |
|
|
34 |
public int registryDelete(@Param("registryGroup") String registryGroup, |
|
35 |
@Param("registryKey") String registryKey, |
|
36 |
@Param("registryValue") String registryValue); |
|
37 |
|
|
38 |
} |