Browse Source

Merge branch 'bzq1/excel_rule_master' of eta_server/eta_api into bzq1/excel_rule_decimal_master

鲍自强 6 tháng trước cách đây
mục cha
commit
75abe0b877
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 			}