|
@@ -1254,7 +1254,7 @@ func getCalculateNhccData(secondDataList []*EdbInfoSearchData, ruleConf RuleLine
|
|
|
if ruleConf.DateType == 0 {
|
|
|
endDate, _ = time.ParseInLocation(utils.FormatDate, ruleConf.EndDate, time.Local)
|
|
|
} else {
|
|
|
- endDate = time.Now()
|
|
|
+ endDate, _ = time.ParseInLocation(utils.FormatDate, time.Now().Format(utils.FormatDate), time.Local)
|
|
|
}
|
|
|
|
|
|
//查询当前指标现有的数据
|