프로젝트 계약금 수정 목록 (최근 3개월 이내 작성 내역)

<% sql=""&VbCrlf sql=sql&" SELECT M.p_sn, p_subject, p_method_cd, d_write_name AS p_name, d_write_date, "&VbCrlf sql=sql&" target3 AS o_child_cost, target1 AS c_child_cost, "&VbCrlf sql=sql&" target4 AS o_cost, target5 AS c_cost, "&VbCrlf sql=sql&" target2 AS reason "&VbCrlf sql=sql&" FROM 문서내용 M LEFT JOIN Document D ON M.문서번호 = D.d_no "&VbCrlf sql=sql&" LEFT JOIN T_PROJECT_METHOD P ON M.p_sn = P.p_child_sn "&VbCrlf sql=sql&" WHERE 문서제목 = '프로젝트계약액수정' "&VbCrlf sql=sql&" AND d_order_cnt = '77' AND del_yes_no = 'no' "&VbCrlf sql=sql&" AND d_write_date >= CONVERT(varchar(10), DATEADD(MONTH, -3, getdate()), 120) "&VbCrlf sql=sql&" ORDER BY d_write_date DESC "&VbCrlf Rs.Open sql, adoConn, 1 While Not Rs.Eof %> <% Rs.movenext Wend Rs.Close %>
프로젝트코드 프로젝트명 작성자 작성일자 기존 단위계약액 → 변경 단위계약액 기존 전체계약액 → 변경 전체계약액 사유
','<%=mid(Rs("p_sn"),9,1)%>','<%=Rs("p_method_cd")%>','<%=Rs("p_sn")%>');"><%=Rs("p_sn")%> ','<%=mid(Rs("p_sn"),9,1)%>','<%=Rs("p_method_cd")%>','<%=Rs("p_sn")%>');"><%=Rs("p_subject")%> <%=Rs("p_name")%> <%=Rs("d_write_date")%> <%if Rs("o_child_cost") <> Rs("c_child_cost") then %><%=formatnumber(Rs("o_child_cost"), 0)%><% end if %> <%if Rs("o_child_cost") <> Rs("c_child_cost") then %><%=formatnumber(Rs("c_child_cost"), 0)%><% end if %> <%if Rs("o_cost") <> Rs("c_cost") then %><%=formatnumber(Rs("o_cost"), 0)%><% end if %> <%if Rs("o_cost") <> Rs("c_cost") then %><%=formatnumber(Rs("c_cost"), 0)%><% end if %> <%=Rs("reason")%>