|
@@ -396,8 +396,8 @@ func EditPredictEdbInfo(edbInfoId, classifyId int, edbName string, ruleList []mo
|
|
|
err = errors.New(errMsg)
|
|
|
return
|
|
|
}
|
|
|
- if !utils.InArrayByStr([]string{"日度", "周度", "月度"}, sourceEdbInfo.Frequency) {
|
|
|
- errMsg = "预测指标只支持选择日度、周度、月度的指标"
|
|
|
+ if !utils.InArrayByStr([]string{"日度", "周度", "月度", "年度"}, sourceEdbInfo.Frequency) {
|
|
|
+ errMsg = "预测指标只支持选择日度、周度、月度、年度的指标"
|
|
|
err = errors.New(errMsg)
|
|
|
return
|
|
|
}
|