|
@@ -152,7 +152,7 @@ func EditCalculateInfo(edbInfo *EdbInfo, req EdbInfoCalculateSaveReq, formulaSli
|
|
|
edbInfo.EmptyType = req.EmptyType
|
|
|
edbInfo.MaxEmptyType = req.MaxEmptyType
|
|
|
edbInfo.Extra = req.Extra
|
|
|
- _, err = to.Update(edbInfo, "EdbName", "EdbNameSource", "Frequency", "Unit", "ClassifyId", "CalculateFormula", "ModifyTime", "EmptyType", "MaxEmptyType", "Extra")
|
|
|
+ _, err = to.Update(edbInfo, "EdbName", "EdbNameSource", "Frequency", "Unit", "EdbNameEn", "UnitEn", "ClassifyId", "CalculateFormula", "ModifyTime", "EmptyType", "MaxEmptyType", "Extra")
|
|
|
if err != nil {
|
|
|
return
|
|
|
}
|
|
@@ -687,8 +687,10 @@ type EdbInfoCalculateEdbInfoIdReq struct {
|
|
|
// EdbInfoCalculateBatchEditReq 编辑计算指标的请求参数
|
|
|
type EdbInfoCalculateBatchEditReq struct {
|
|
|
EdbName string `description:"指标名称"`
|
|
|
+ EdbNameEn string `description:"英文指标名称"`
|
|
|
Frequency string `description:"频度"`
|
|
|
Unit string `description:"单位"`
|
|
|
+ UnitEn string `description:"英文单位"`
|
|
|
ClassifyId int `description:"分类id"`
|
|
|
Formula string `description:"N值"`
|
|
|
EdbInfoId int `description:"编辑指标id"`
|