📄 docommsg.asp
字号:
<%
Sub DoComMsg(ObjDB,ComMsgID)
Dim ObjRS,StrSQL
Dim IntComMsgID,IntNodeID
Dim IntExeID
IntComMsgID = ComMsgID
StrSQL = "Update t_OA_Work_ComMessage Set State = 1,SendTime=getdate() where ID=" &IntComMsgID
ObjDB.execute StrSQL
StrSQL = "Select ID from t_OA_Work_ComMessage_Record where ComMsgID=" &IntComMsgID & " and ParentID = 0"
Set ObjRS = ObjDB.execute (StrSQL)
IntNodeID = ObjRS("ID")
StrSQL = "Update t_OA_Work_ComMessage_Record Set State = 2,UpdateTime=getdate() where ID = " &IntNodeID
ObjDB.execute StrSQL
ObjRS.close
StrSQL = "Select ID from t_OA_Work_ComMessage_Record_Des where NodeID=" &IntNodeID & " And IsCreator=1"
Set ObjRS = ObjDB.execute (StrSQL)
IntExeID = ObjRS("ID")
ObjRS.close
Set ObjRS = Nothing
Call DoExecute(ObjDB,IntExeID,"",1)
End Sub
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -