Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
e2ff0cf5
Commit
e2ff0cf5
authored
Jun 12, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
c61c8e08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CylinderDateInfoServiceImpl.java
...tzs/flc/biz/service/impl/CylinderDateInfoServiceImpl.java
+3
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderDateInfoServiceImpl.java
View file @
e2ff0cf5
...
@@ -242,7 +242,9 @@ public class CylinderDateInfoServiceImpl extends BaseService<CylinderDateInfoDto
...
@@ -242,7 +242,9 @@ public class CylinderDateInfoServiceImpl extends BaseService<CylinderDateInfoDto
Date
date
=
new
Date
();
//取时间
Date
date
=
new
Date
();
//取时间
Calendar
calendar
=
Calendar
.
getInstance
();
Calendar
calendar
=
Calendar
.
getInstance
();
calendar
.
setTime
(
date
);
calendar
.
setTime
(
date
);
//这个时间就是日期往后推一天的结果
// 设置同步时间为当前日期前两天(解决定时任务覆盖问题)
calendar
.
setTime
(
date
);
calendar
.
add
(
Calendar
.
DATE
,
-
2
);
date
=
calendar
.
getTime
();
date
=
calendar
.
getTime
();
LambdaQueryWrapper
<
CylinderUnit
>
lambda
=
new
QueryWrapper
<
CylinderUnit
>().
lambda
();
LambdaQueryWrapper
<
CylinderUnit
>
lambda
=
new
QueryWrapper
<
CylinderUnit
>().
lambda
();
List
<
CylinderUnit
>
cylinderUnits
=
cylinderUnitMapper
.
selectList
(
lambda
);
List
<
CylinderUnit
>
cylinderUnits
=
cylinderUnitMapper
.
selectList
(
lambda
);
...
...
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