package com.quartz;


import org.quartz.Job;
import org.quartz.JobExecutionContext;
import com.util.SpringUtil;
public class UnlockOrder implements Job {
	
	
	@Override
	public void execute(JobExecutionContext context){
//		OrderService service =(OrderService)SpringUtil.getBean("orderservice");
//		//解锁10分钟以前的数据
//		service.executeSql("update taborder tab1 set locksign=0 where DATE_SUB(now(),INTERVAL 10 MINUTE)>=tab1.createtime and locksign=1 ");
//		
	}
}
