Commit f363413a by lixian7

Merge remote-tracking branch 'origin/dev' into dev

parents f8334316 0ae1e2ec
......@@ -36,7 +36,6 @@ import com.hikcreate.edl.pub.web.mobile.infra.model.param.response.ViolationInfo
import com.hikcreate.edl.pub.web.mobile.infra.model.param.response.YearCheckInfoRes;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
......@@ -44,7 +43,6 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Objects;
import java.util.UUID;
/**
* 客户绑定服务实现类
......@@ -53,7 +51,6 @@ import java.util.UUID;
* @time:2020/6/18 16:12
**/
@Service
@EnableScheduling
@Slf4j
public class BindServiceImpl extends ServiceImpl<BindInfoMapper, ParkBindInfo> implements IBindService {
......@@ -309,14 +306,6 @@ public class BindServiceImpl extends ServiceImpl<BindInfoMapper, ParkBindInfo> i
}
// @Scheduled(cron = "0 0/30 * * * ?")
// public void clearPast() {
// DateTime now = DateTime.now();
// log.info("开始清除,已过期且无效的绑定信息.当前时间:" + now);
// Date lastMonth = DateUtil.offsetDay(now, -30);
// Integer count = mapper.clearPast(lastMonth);
// log.info("清除完毕,共清除过期且无效的绑定信息:" + count);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment