|
@@ -1069,6 +1069,13 @@ func getCensusIncomeListV2(ch chan models.CensusIncomeChartResp, req fms.IncomeL
|
|
|
} else {
|
|
|
cond += ` AND 1 = 2`
|
|
|
}
|
|
|
+ // 勾选套餐筛选时忽略导入的历史数据
|
|
|
+ if req.StartDate == "" {
|
|
|
+ req.StartDate = "2023-04"
|
|
|
+ req.EndDate = "3023-04"
|
|
|
+ } else {
|
|
|
+ req.StartDate = "2023-04"
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|
|
@@ -1303,7 +1310,7 @@ func getCensusIncomeListV2(ch chan models.CensusIncomeChartResp, req fms.IncomeL
|
|
|
partAccumulate = 0.0
|
|
|
}
|
|
|
}
|
|
|
- } else if endDateTime.Before(historyTime) || endDateTime.Equal(historyTime) {
|
|
|
+ } else if endDateTime.Before(historyTime) || endDateTime.Equal(historyTime) {
|
|
|
//全部走旧查询
|
|
|
//fmt.Println("旧查询")
|
|
|
//fmt.Println("st:",st)
|