최초커밋
This commit is contained in:
34
ess/direct_cost_ajax_confirm.asp
Normal file
34
ess/direct_cost_ajax_confirm.asp
Normal file
@@ -0,0 +1,34 @@
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<OBJECT RUNAT=Server PROGID=ADODB.Recordset id=rsp></OBJECT>
|
||||
<%'
|
||||
|
||||
|
||||
|
||||
p_child_sn = request("p_child_sn")
|
||||
hangmok = request("hangmok")
|
||||
sebu = request("sebu")
|
||||
cost_type = request("cost_type")
|
||||
confirmYN = request("confirmYN")
|
||||
|
||||
Response.CharSet = "EUC-KR" '<27>ѱ<EFBFBD>
|
||||
Response.AddHeader "Pragma","no-cache"
|
||||
Response.AddHeader "cache-control", "no-staff"
|
||||
Response.Expires = -1
|
||||
|
||||
query = " update direct_cost "
|
||||
query = query & " set confirm_yn = '"& confirmYN &"' "
|
||||
query = query & " where p_child_sn = '"& p_child_sn &"' "
|
||||
query = query & " and del_yes_no = 'no' "
|
||||
query = query & " and hangmok= (select id from direct_costcode where d_cost_parents = '0' and d_cost_name = '"& hangmok &"' and d_cost_kind = '"& cost_type &"') "
|
||||
query = query & " and sebu = '"& sebu &"' "
|
||||
query = query & " and hangmok NOT IN ('<27><EFBFBD>', '<27><EFBFBD>_<EFBFBD>濵<EFBFBD><E6BFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>') "
|
||||
|
||||
adoConn.execute query
|
||||
|
||||
if confirmYN = "Y" then
|
||||
response.write "Y_OK"
|
||||
else
|
||||
response.write "N_OK"
|
||||
end if
|
||||
|
||||
%>
|
||||
Reference in New Issue
Block a user