Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
extend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
park
extend
Commits
0ae1e2ec
Commit
0ae1e2ec
authored
Jun 22, 2020
by
xieshixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
162089e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
domain/src/main/java/com/hikcreate/edl/pub/web/mobile/domain/impl/BindServiceImpl.java
+0
-11
No files found.
domain/src/main/java/com/hikcreate/edl/pub/web/mobile/domain/impl/BindServiceImpl.java
View file @
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);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment