|
@@ -101,7 +101,11 @@ func GetChartInfoDetail(c *gin.Context) {
|
|
|
endDate = endDate + "-01"
|
|
|
}
|
|
|
case 6:
|
|
|
- startDate = startDate + "-01"
|
|
|
+ if startDate == "" && chartInfo.StartDate != "" {
|
|
|
+ startDate = chartInfo.StartDate
|
|
|
+ } else {
|
|
|
+ startDate = startDate + "-01"
|
|
|
+ }
|
|
|
case 7:
|
|
|
startDate = "2018-01-01"
|
|
|
case 8:
|