📄 delsq.asp
字号:
<!--#include file="check.asp"-->
<!--#include file="checkpower.asp"-->
<!--#INCLUDE FILE="connect.asp" -->
<%
dim urllink
dim tablename
urllink=""
tablename=""
select case CInt(request("kind"))
case 1
urllink="meetingsp.asp"
tablename="applymeeting"
case 2
urllink="xiujiasp.asp"
tablename="applyholiday"
case 3
urllink="businesssp.asp"
tablename="applybusiness"
case 4
urllink="moneysp.asp"
tablename="applymoney"
case 5
urllink="goodssp.asp"
tablename="applygoods"
case 6
urllink="carsp.asp"
tablename="applycar"
case 7
urllink="receiptsp.asp"
tablename="applyreceipt"
case 8
urllink="phoneyj.asp"
tablename="phonerecord"
end select
sql="delete from applygz where flowid="&CLng(request("id"))&" and handletype="&CLng(request("kind"))
conn.execute(sql)
if urllink<>"" then
sql="delete from newwork where baseid="&CLng(request("id"))&" and url in('"&urllink&"')"
conn.execute(sql)
end if
if tablename<>"" then
sql="delete from "&tablename&" where id="&CLng(request("id"))
conn.execute(sql)
end if
if trim(request("kind"))="8" then
sql="delete from phoneyj where flowid="&CLng(request("id"))
conn.execute(sql)
end if
response.redirect "applygz.asp"
response.end
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -