|
@@ -289,7 +289,7 @@ func BarChartData(edbInfoMapping *chartEdbMappingModel.ChartEdbInfoMappingList,
|
|
|
findDataList = append(findDataList, tmpFindDataValue)
|
|
|
if tmpIsFind {
|
|
|
if maxDate.IsZero() || maxDate.Before(tmpRealDateTime) {
|
|
|
- maxDate = realDateTime
|
|
|
+ maxDate = tmpRealDateTime
|
|
|
}
|
|
|
} else {
|
|
|
noDataIdList = append(noDataIdList, futureGoodMapping.EdbInfoId)
|
|
@@ -310,7 +310,7 @@ func BarChartData(edbInfoMapping *chartEdbMappingModel.ChartEdbInfoMappingList,
|
|
|
findDataList = append(findDataList, tmpFindDataValue)
|
|
|
if tmpIsFind {
|
|
|
if maxDate.IsZero() || maxDate.Before(tmpRealDateTime) {
|
|
|
- maxDate = realDateTime
|
|
|
+ maxDate = tmpRealDateTime
|
|
|
}
|
|
|
} else {
|
|
|
noDataIdList = append(noDataIdList, futureGoodMapping.EdbInfoId)
|