Commit 9a40ec86 authored by jiaorz's avatar jiaorz

车辆统计导出bug

parent fff7a05f
...@@ -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;
......
...@@ -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.addAll();
return ObjectRestResponse.succ(); return ObjectRestResponse.succ();
} }
......
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