Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-rest-admin-job-archetype
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5b3ad21a
authored
May 01, 2021
by
fz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.添加车钥匙过期时间任务,关闭车钥匙分享状态
1 parent
ed3a4057
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
glsx-rest-admin-job/src/main/java/cn/com/glsx/smartdevice/job/SmartCarKeyExpireTimeFixJob.java
glsx-rest-admin-job/src/main/java/cn/com/glsx/smartdevice/job/SmartCarKeyExpireTimeFixJob.java
View file @
5b3ad21
...
@@ -50,6 +50,7 @@ public class SmartCarKeyExpireTimeFixJob implements SimpleJob {
...
@@ -50,6 +50,7 @@ public class SmartCarKeyExpireTimeFixJob implements SimpleJob {
//筛选过期时间小于当前日期的数据更新
//筛选过期时间小于当前日期的数据更新
SmartVehicleBlueShareKeyExample
example
=
new
SmartVehicleBlueShareKeyExample
();
SmartVehicleBlueShareKeyExample
example
=
new
SmartVehicleBlueShareKeyExample
();
example
.
createCriteria
()
example
.
createCriteria
()
.
andShareStatusEqualTo
(
1
)
.
andExpireTimeLessThan
(
nowDate
);
.
andExpireTimeLessThan
(
nowDate
);
int
count
=
shareKeyService
.
updateByExampleSelective
(
shareKey
,
example
);
int
count
=
shareKeyService
.
updateByExampleSelective
(
shareKey
,
example
);
log
.
info
(
"SmartCarKeyExpireTimeFixJob=======update count:"
+
count
);
log
.
info
(
"SmartCarKeyExpireTimeFixJob=======update count:"
+
count
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment