判断是否新增
This commit is contained in:
@@ -279,7 +279,7 @@ public class RefinitivConsumer implements ApplicationRunner {
|
|||||||
String interval = null;
|
String interval = null;
|
||||||
String resourceEndpoint = null;
|
String resourceEndpoint = null;
|
||||||
Date start = new SimpleDateFormat("yyyy-MM-dd").parse(starttime);
|
Date start = new SimpleDateFormat("yyyy-MM-dd").parse(starttime);
|
||||||
Date end = new SimpleDateFormat("yyyy-MM-dd").parse(starttime);
|
Date end = new SimpleDateFormat("yyyy-MM-dd").parse(endtime);
|
||||||
long duration = end.getTime() - start.getTime();
|
long duration = end.getTime() - start.getTime();
|
||||||
long minutes = TimeUnit.MILLISECONDS.toMinutes(duration);
|
long minutes = TimeUnit.MILLISECONDS.toMinutes(duration);
|
||||||
String fields = null;
|
String fields = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user