Commit c8646562 authored by jiaorz's avatar jiaorz

修改交还车列表bug

parent b53bc006
...@@ -24,6 +24,7 @@ import org.joda.time.format.DateTimeFormat; ...@@ -24,6 +24,7 @@ import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter; import org.joda.time.format.DateTimeFormatter;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
...@@ -85,6 +86,7 @@ public class VehicleCountRecordBiz extends BaseBiz<VehicleCountRecordMapper, Veh ...@@ -85,6 +86,7 @@ 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;
......
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