Commit 154fbb8d9f4461ed860d7f4c363be48367cafae1

Authored by liquanyu
1 parent 44bd5f060a

分娩

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/hospitalapi/dzfy/DzfyFmService.java View file @ 154fbb8
... ... @@ -106,8 +106,8 @@
106 106  
107 107 public void fmTimerWork() {
108 108 SimpleDateFormat fmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
109   - Date end = new Date();
110   - Date start = new Date(end.getTime()-1000*60*60);
  109 + Date end = new Date(new Date().getTime()-1000*60*60);
  110 + Date start = new Date(end.getTime()-1000*60*60*2);
111 111 String startStr = fmt.format(start);
112 112 String endStr = fmt.format(end);
113 113 System.out.println("start=" + startStr + "end=" + endStr);