找到Kesion.Label.FunctionCls.asp文件 找到下面方法 覆盖下 我是这样修改的!!
- Function GetOrderParam()
- Dim OrderStr,OrderStrflag
- OrderStrflag = ParamNode.getAttribute("orderstr") : If OrderStrflag="" Then OrderStr=" I.ID Desc"
-
- OrderStrflag=Lcase(OrderStr)
- If trim(OrderStrflag)="rnd" Then
- If DataBaseType=1 Then
- OrderStr="newid()"
- Else
- Randomize : OrderStr="Rnd(-(I.ID+"&Rnd()&"))"
- End If
- ElseIf Lcase(Left(Trim(OrderStrflag),2))<>"id" Then
- OrderStr=OrderStr & "I.ID Desc"
- End If
- GetOrderParam = OrderStr
- End Function