소스 검색

修改首页超短期按考核点位展示

xusl 1 년 전
부모
커밋
24d63c7e7b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ipfcst/ipfcst-reportquery/src/main/java/com/jiayue/ipfcst/service/DashboardService.java

+ 2 - 2
ipfcst/ipfcst-reportquery/src/main/java/com/jiayue/ipfcst/service/DashboardService.java

@@ -1096,7 +1096,7 @@ public class DashboardService extends BaseService {
 //      TimeAndDataDto cdqTimeAndDataDto = new TimeAndDataDto();
 //      cdqTimeAndDataDto.setTime(time);
       if (cdqMap.get(tempDateTime) != null) {
-        if (tempDateTime>currentTime){
+        if (tempDateTime>currentTime + Long.parseLong(khPoint)*1000*60*15){
           cdqList.add(null);
         }
         else{
@@ -1289,7 +1289,7 @@ public class DashboardService extends BaseService {
 //      TimeAndDataDto cdqTimeAndDataDto = new TimeAndDataDto();
 //      cdqTimeAndDataDto.setTime(time);
       if (cdqMap.get(tempDateTime) != null) {
-        if (tempDateTime>currentTime){
+        if (tempDateTime>currentTime + Long.parseLong(khPoint)*1000*60*15){
           cdqList.add(null);
         }
         else{