Browse Source

fix:手工数据录入相关接口

Roc 8 months ago
parent
commit
5a75f9fa71
1 changed files with 7 additions and 7 deletions
  1. 7 7
      controllers/target.go

+ 7 - 7
controllers/target.go

@@ -27,7 +27,7 @@ import (
 	"time"
 
 	"github.com/rdlucklib/rdluck_tools/paging"
-	"github.com/shopspring/decimal"
+	//"github.com/shopspring/decimal"
 	"github.com/tealeg/xlsx"
 )
 
@@ -2020,13 +2020,13 @@ func (this *TargetController) TargetFrequencyList() {
 
 func sortEdbFrequency(frequencyList []string) (newFrequencyList []string) {
 	var frequencyMap1 = map[string]int{
-		"日度":   1,
-		"周度":   2,
-		"旬度":   3,
-		"月度":   4,
-		"季度":   5,
+		"日度":  1,
+		"周度":  2,
+		"旬度":  3,
+		"月度":  4,
+		"季度":  5,
 		"半年度": 6,
-		"年度":   7,
+		"年度":  7,
 	}
 
 	var frequencyMap2 = map[int]string{