Browse Source

fix:管理规则判断

zqbao 6 months ago
parent
commit
633c0e3f56
1 changed files with 1 additions and 1 deletions
  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
 			}