【调度系统】广东民航医疗快线调度系统源代码
wzp
2024-12-05 9dc0d99742f5526321e1b5fdb0dec10e6725415e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage=65001%>
<!--#include virtual="/inc/chkadmin.gds"-->
<!--#include virtual="/inc/function.gds"-->
 
<%
address=trim(Request("address"))
 
Set rs = Server.CreateObject("ADODB.Recordset")
if OA_RunningOAid="" then
    OA_RunningOAid=session("adminID")
end if 
If OA_RunningOAid<>"" And address<>"" Then
    sql="select top 1 id from OA_Running where OAid="&OA_RunningOAid&" and Running_address is null order by id desc"
    rs.open Sql,objConn,1,1
    if not rs.eof then
        id        = rs("id")
        sql="update OA_Running set Running_address='"&address&"' where id="&id
        objConn.Execute sql
    end if
    rs.close()
End If
 
%>