新增一个参数的调度任务测试方法
This commit is contained in:
@@ -145,6 +145,13 @@ public class TestDataService extends CrudService<TestDataDao, TestData> {
|
|||||||
testDataChildDao.deleteByEntity(testDataChild);
|
testDataChildDao.deleteByEntity(testDataChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 任务调度测试:testDataService.executeTestTask('on')
|
||||||
|
*/
|
||||||
|
public void executeTestTask(String flag){
|
||||||
|
System.out.println(DateUtils.getTime() + " 任务执行了~~~ flag: " + flag);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 任务调度测试:testDataService.executeTestTask(userService, 1, 2L, 3F, 4D, 'abc')
|
* 任务调度测试:testDataService.executeTestTask(userService, 1, 2L, 3F, 4D, 'abc')
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user