32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@include file="/include/db/db_connect.jsp"%>
|
|
<%@include file="/include/function/function.jsp"%>
|
|
<%request.setCharacterEncoding("utf-8");%>
|
|
<%
|
|
String c_home= r_call(request.getParameter("c_home"));
|
|
String c_ji_no= r_call(request.getParameter("c_ji_no"));
|
|
String c_no = r_call(request.getParameter("c_no"));
|
|
String c_order = r_call(request.getParameter("c_order"));
|
|
String o_no = r_call(request.getParameter("o_no"));
|
|
String o_order = r_call(request.getParameter("o_order"));
|
|
if(c_no.equals("")){
|
|
%>
|
|
<script>
|
|
alert("잘못 된 접속입니다.");
|
|
location.href="list.jsp"
|
|
</script>
|
|
<%
|
|
}else{
|
|
|
|
String sql_ok = "update tbl_point_ji_detail set c_order = "+ o_order +" where c_no = "+ c_no;
|
|
stmt.execute(sql_ok);
|
|
sql_ok = "update tbl_point_ji_detail set c_order = "+ c_order +" where c_no = "+ o_no;
|
|
stmt.execute(sql_ok);
|
|
%>
|
|
<script>
|
|
location.href="list.jsp?c_home=<%=c_home%>&c_ji_no=<%=c_ji_no%>"
|
|
</script>
|
|
<%
|
|
}
|
|
%>
|
|
<%@include file="/include/db/db_close.jsp"%> |