|
@@ -43,10 +43,10 @@ func ResidualAnalysisPreview(req residual_analysis_model.ResidualAnalysisReq) (r
|
|
// 时间处理
|
|
// 时间处理
|
|
var startDate, endDate string
|
|
var startDate, endDate string
|
|
switch req.DateType {
|
|
switch req.DateType {
|
|
- case 0:
|
|
|
|
|
|
+ case -1:
|
|
startDate = req.StartDate
|
|
startDate = req.StartDate
|
|
endDate = req.EndDate
|
|
endDate = req.EndDate
|
|
- case 1:
|
|
|
|
|
|
+ case 0:
|
|
startDate = req.StartDate
|
|
startDate = req.StartDate
|
|
endDate = ""
|
|
endDate = ""
|
|
default:
|
|
default:
|