´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
µî·ÏÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> > <%@ Language=VBScript %> > > <%'·Î±ä Æñâ´Â °Å ´Þ±â%> > > <% > > > > user_id = 2000066 > > 'user_id = session("edmsID") > > approvePath = Request.Form("approvePath") > > SendApprover = Request.Form("SendApprover") > > > > ' ³Ñ¾î¿Â °áÀçÀÚÁß¿¡¼ »ç¿ø¹øÈ£¸¸ ÃßÃâÇÏ¿© ·çÇÁ¸¦ µ¹¸°´Ù. > > tempApprover = split(SendApprover,",") > > %> > > > > > > <% > > for i=0 to UBound(tempApprover) > > temp = split(tempApprover(i),"-") > > ApproverID = ApproverID & temp(1) &"," > > next > > > > ApproverID = left(ApproverID,len(ApproverID)-1) ' ¸¶Áö¸· ³¡ÀÇ ","¸¦ ¾ø¾Ø´Ù. > > ApproverID = user_id&","& ApproverID&"," '±â¾ÈÀÚ¸¦ Ãß°¡ÇÑ´Ù. µÚ¿¡ ¡º , ¡» ´Â »ç¶÷¼ö¿¡ ¸Âµµ·Ï ºÙ¿©ÁØ °ÍÀÌ´Ù. > > > > 'ÇöÀç ³ª¿À´Â °ª ¡æ 2000066,2000001,2000066,2000002,2000003,2000004 > > > > strSQL="SELECT APP_NAME FROM APPROVAL_TABLE WHERE APP_NAME = '"& SendApprover &"'" > > set rs=conn.execute(strSQL) > > > > if rs.eof then > > '°áÀç°æ·Î Å×ÀÌºí¿¡ ÀúÀå > > Set rsfi = Server.CreateObject("ADODB.RecordSet") > > > > 'ÀúÀåÇÏ´Â °Å ´Þ±â( ÀμƮ¹®) > > ApproverID = split(ApproverID,",") > > > > for i=0 to UBound(ApproverID) > > > > ApproverID = ApproverID(i) > > > > AppID1 = Mid(ApproverID,1,4) > > AppID2 = Mid(ApproverID,5,3) > > AppID = AppID1&"-"&AppID2 > > > > strSQLFind="insert into groupadmin.APPROVAL_TABLE VALUES(DEPTNO, APP_NAME, SEQNO, EMPNO)" > > strSQLFind=strSQLFind & " " > > strSQLFind=strSQLFind & " select ºÎ¼CODE,"&SendApprover&","&i&","&ApproverID&" from openquery(stc,'select ºÎ¼CODE,»ç¹ø from Àλç_ÃÖ±Ù¹ß·É Where »çÁ÷ÀÏÀÚ Is Null and »ç¹ø=''"&AppID&"''')" > > set rsFi=conn.execute(strSQLFind) > > set rsFi=nothing > > next > > > > else > > %> > > > > <% > > end if > > set rs=nothing > > set conn=nothing > > %> > > > > > > > > > > ¾îµð¼ Ʋ·È´ÂÁö ¸ð¸£°Ú¾î¿ä... ¤Ì_¤Ì > > > > µÂÁÖ¼¼¿ë~ > ----------------------------------------------------------- > > ¹» µµ¿Í´Þ¶ó´Â°Ç°¡¿ä? ¸®´õ´Ô? 0.0;; > -----------------------------------------------------------
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*