目标是在HttpServletRequestWrapper
请求中设置请求参数。
我看到这个目标可以通过使用servlet过滤器和HandlerInterceptorAdapter
来实现。
问题是如何使用Spring拦截器实现相同的结果(我的意思是实现Option Explicit
Sub ConvertTextNumberToNumber()
Dim dataArr As Variant
Dim myRng As Range
Dim i As Long, j As Long
Set myRng = Worksheets("Sheet1").Range("X76:BE10000")
dataArr = myRng.Value2
For i = 1 To UBound(dataArr, 1)
For j = 1 To UBound(dataArr, 2)
If IsNumeric(dataArr(i, j)) And dataArr(i, j) <> "" Then dataArr(i, j) = CDbl(dataArr(i, j))
Next j
Next i
myRng.Value2 = dataArr
End Sub
)?