35 lines
1.0 KiB
Plaintext
35 lines
1.0 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_no = r_call(request.getParameter("c_no"));
|
|
String c_home= r_call(request.getParameter("c_home"));
|
|
String c_project_no= r_call(request.getParameter("c_project_no"));
|
|
String result_no= r_call(request.getParameter("result_no"));
|
|
String c_ok = r_call(request.getParameter("c_ok"));
|
|
String call_part = r_call(request.getParameter("call_part"));
|
|
if(c_no.equals("")){
|
|
%>
|
|
<script>
|
|
alert("Wrong Connection.");
|
|
location.href="list.jsp"
|
|
</script>
|
|
<%
|
|
}else{
|
|
|
|
|
|
|
|
String sql_ok = "update tbl_point_result set c_ok = "+ c_ok +" where c_no = "+ result_no;
|
|
stmt.execute(sql_ok);
|
|
%>
|
|
<script>
|
|
alert("Change OK.")
|
|
location.href="list.jsp?c_home=<%=c_home%>&c_project_no=<%=c_project_no%>&c_no=<%=c_no%>&call_part=<%=call_part%>"
|
|
</script>
|
|
<%
|
|
|
|
|
|
}
|
|
%>
|
|
<%@include file="/include/db/db_close.jsp"%> |