Parcourir la source

fix:管理规则判断

zqbao il y a 6 mois
Parent
commit
633c0e3f56
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      services/excel/lucky_sheet_table.go

+ 1 - 1
services/excel/lucky_sheet_table.go

@@ -151,7 +151,7 @@ func getCellValueByType(value string, valueType int, tableDataList [][]LuckyShee
 		}
 		if len(coordIntArr) == 2 {
 			x, y := coordIntArr[0]-1, coordIntArr[1]-1
-			conditionValue, err := strconv.ParseFloat(tableDataList[x][y].Monitor, 64)
+			conditionValue, err := strconv.ParseFloat(tableDataList[y][x].Monitor, 64)
 			if err != nil {
 				return 0, false
 			}