|
@@ -275,7 +275,7 @@ func BarChartData(edbInfoMapping *models.ChartEdbInfoMapping, futureGoodMappingL
|
|
|
findDataList = append(findDataList, tmpFindDataValue)
|
|
|
if tmpIsFind {
|
|
|
if maxDate.IsZero() || maxDate.Before(tmpRealDateTime) {
|
|
|
- maxDate = realDateTime
|
|
|
+ maxDate = tmpRealDateTime
|
|
|
}
|
|
|
} else {
|
|
|
noDataIdList = append(noDataIdList, futureGoodMapping.EdbInfoId)
|
|
@@ -296,7 +296,7 @@ func BarChartData(edbInfoMapping *models.ChartEdbInfoMapping, futureGoodMappingL
|
|
|
findDataList = append(findDataList, tmpFindDataValue)
|
|
|
if tmpIsFind {
|
|
|
if maxDate.IsZero() || maxDate.Before(tmpRealDateTime) {
|
|
|
- maxDate = realDateTime
|
|
|
+ maxDate = tmpRealDateTime
|
|
|
}
|
|
|
} else {
|
|
|
noDataIdList = append(noDataIdList, futureGoodMapping.EdbInfoId)
|