Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
9a40ec86
Commit
9a40ec86
authored
Oct 08, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车辆统计导出bug
parent
fff7a05f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
VehicleCountRecordBiz.java
.../com/xxfc/platform/vehicle/biz/VehicleCountRecordBiz.java
+1
-1
VehicleCountRecordController.java
...c/platform/vehicle/rest/VehicleCountRecordController.java
+1
-1
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleCountRecordBiz.java
View file @
9a40ec86
...
@@ -87,7 +87,6 @@ public class VehicleCountRecordBiz extends BaseBiz<VehicleCountRecordMapper, Veh
...
@@ -87,7 +87,6 @@ public class VehicleCountRecordBiz extends BaseBiz<VehicleCountRecordMapper, Veh
*
*
* @return
* @return
*/
*/
@Scheduled
(
cron
=
"59 59 23 * * ?"
)
public
void
addAll
()
{
public
void
addAll
()
{
Long
nowTime
=
getDayStart
();
Long
nowTime
=
getDayStart
();
Long
lastTime
=
nowTime
+
24
*
3600
*
1000
-
1
;
Long
lastTime
=
nowTime
+
24
*
3600
*
1000
-
1
;
...
@@ -226,6 +225,7 @@ public class VehicleCountRecordBiz extends BaseBiz<VehicleCountRecordMapper, Veh
...
@@ -226,6 +225,7 @@ public class VehicleCountRecordBiz extends BaseBiz<VehicleCountRecordMapper, Veh
*
*
* @return
* @return
*/
*/
@Scheduled
(
cron
=
"59 59 23 * * ?"
)
public
void
add
()
{
public
void
add
()
{
Long
nowTime
=
getDayStart
();
Long
nowTime
=
getDayStart
();
Long
lastTime
=
nowTime
+
24
*
3600
*
1000
-
1
;
Long
lastTime
=
nowTime
+
24
*
3600
*
1000
-
1
;
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/VehicleCountRecordController.java
View file @
9a40ec86
...
@@ -23,7 +23,7 @@ public class VehicleCountRecordController {
...
@@ -23,7 +23,7 @@ public class VehicleCountRecordController {
@GetMapping
(
"/app/unauth/test"
)
@GetMapping
(
"/app/unauth/test"
)
@ResponseBody
@ResponseBody
public
ObjectRestResponse
add
()
{
public
ObjectRestResponse
add
()
{
vehicleCountRecordBiz
.
add
();
vehicleCountRecordBiz
.
add
All
();
return
ObjectRestResponse
.
succ
();
return
ObjectRestResponse
.
succ
();
}
}
...
...
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