📄 checkwiner.java
字号:
package com.lixineng.schedule;
import java.util.TimerTask;
import com.lixineng.exception.AuctionException;
import com.lixineng.service.AuctionService;
public class CheckWiner extends TimerTask {
private AuctionService aucService;
public void setAucService(AuctionService aucService) {
this.aucService = aucService;
}
public void run() {
// TODO Auto-generated method stub
System.out.println("----------启动-----------");
try
{
aucService.updateWiner();
}
catch (AuctionException ae)
{
ae.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -