⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checknode.asp

📁 功能齐全的oa系统
💻 ASP
字号:
<%
	Sub CheckNode (ObjDB,NodeID)
		Dim ObjRS,StrSQL
		Dim IntNodeID
		Dim IntIsEnd,IntComMsgID
		Dim IsNeed
		Dim IntNextNodeID
		

		IntNodeID = NodeID
		
	
		If IsNodeEnd(ObjDB,IntNodeID) then
			
			StrSQL = "Select * from t_OA_Work_ComMessage_Record where ID = "& IntNodeID
			Set ObjRS = ObjDB.execute (StrSQL)
			IntIsEnd = ObjRS("IsEnd")
			IntComMsgID = ObjRS("ComMsgID")
			ObjRS.close
			Set ObjRS = Nothing
			StrSQL = "Update t_OA_Work_ComMessage_Record Set State = 2,UpdateTime=getdate() where ID = "&IntNodeID
			ObjDB.execute StrSQL
			If IntIsEnd  then
				StrSQL = "Update t_Hrms_JobApplications_DepRequirement Set State = 2,SendTime=getdate() where ID = "& IntComMsgID
				conn.execute StrSQL
			Else
				StrSQL = "Select ID From t_OA_Work_ComMessage_Record Where ParentID = " & IntNodeID
				'response.Write(StrSQL)
				'response.End()
				Set ObjRS = ObjDB.Execute(StrSQL)
				IntNextNodeID = ObJRS("ID")
				ObjRS.Close
				Set ObjRS = Nothing
				Call StimulateNode(ObjDB,IntNextNodeID)
			End if
		'response.Write(IntNodeID)
		'response.Write("2620IntNodeID61")
		'response.Write(IntComMsgID)
			'response.End()
		End if
			
				
			
				
	End Sub
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -