|
@@ -556,7 +556,7 @@ func (this *EdbInfoController) GetFenWeiFrequencyList() {
|
|
|
|
|
|
classifyId, _ := this.GetInt("ClassifyId")
|
|
|
|
|
|
- frequencyList, err := data_manage.GetLyIndexFrequency(classifyId)
|
|
|
+ frequencyList, err := data_manage.GetFenWeiIndexFrequency(classifyId)
|
|
|
if err != nil {
|
|
|
return
|
|
|
}
|
|
@@ -670,7 +670,7 @@ func (this *EdbInfoController) LyIndexAdd() {
|
|
|
}
|
|
|
|
|
|
indexNames := make([]string, 0)
|
|
|
- resp := make([]*data_manage.NameCheckResult, 0)
|
|
|
+ resp := make([]*data_manage.FenWeiNameCheckResult, 0)
|
|
|
for _, index := range req {
|
|
|
index.EdbCode = strings.TrimSpace(index.EdbCode)
|
|
|
if index.EdbCode == "" {
|
|
@@ -697,7 +697,7 @@ func (this *EdbInfoController) LyIndexAdd() {
|
|
|
return
|
|
|
}
|
|
|
indexNames = append(indexNames, index.EdbName)
|
|
|
- resp = append(resp, &data_manage.NameCheckResult{
|
|
|
+ resp = append(resp, &data_manage.FenWeiNameCheckResult{
|
|
|
IndexCode: index.EdbCode,
|
|
|
IndexName: index.EdbName,
|
|
|
Exist: false,
|
|
@@ -828,7 +828,7 @@ func (this *EdbInfoController) FenWeiIndexDataExport() {
|
|
|
|
|
|
downLoadFilePath := exPath + "/" + time.Now().Format(utils.FormatDateTimeUnSpace) + ".xlsx"
|
|
|
xlsxFile := xlsx.NewFile()
|
|
|
- frequencies, err := data_manage.GetLyIndexFrequency(classifyId)
|
|
|
+ frequencies, err := data_manage.GetFenWeiIndexFrequency(classifyId)
|
|
|
if err != nil {
|
|
|
br.Msg = "查询频度失败"
|
|
|
br.ErrMsg = "查询频度失败"
|