<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@include file="/field_manager/include/manager_head.jsp"%> <% String c_home = r_call(request.getParameter("c_home")); String c_project_no = r_call(request.getParameter("c_project_no")); int col_no = 12; if(c_project_no.equals("")){ %> <% }else{ String sql_up = " SELECT c.*, a.c_name as u_name, b.c_name as f_name "; sql_up = sql_up + " , (select c_now_propose from tbl_project_plan where c_relation = 0 and c_project_no = c.c_no) as c_now_propose " ; sql_up = sql_up + " from tbl_project c "; sql_up = sql_up + " inner join tbl_project a on a.c_no = c.c_up_no "; sql_up = sql_up + " inner join tbl_field b on b.c_no = a.c_field "; sql_up = sql_up + " where c.c_no = " + c_project_no; ResultSet rs_up = stmt.executeQuery(sql_up); if (rs_up.next()) { %>
Evaluation project management
Field <%=rs_up.getString("f_name")%>
Category <%=rs_up.getString("u_name")%>
Project Name <%=rs_up.getString("c_name")%>
<% } rs_up.close(); } %>
* Evaluation project management
<% String sql1=" SELECT a.* "; sql1 = sql1 + " ,(select c_name from tbl_point_ji where c_no = a.c_ji_no) as ji_name "; sql1 = sql1 + " ,(select c_no from tbl_point_ji where c_no = a.c_ji_no) as ji_no "; sql1 = sql1 + " ,(select c_name from tbl_apply_field where c_no = a.c_part) as part_name "; sql1 = sql1 + " from tbl_point_project a where a.c_home = " + c_home + " and a.c_maker = 0 and a.c_project_no = "+ c_project_no +" and a.c_use=0 order by a.c_no desc"; ResultSet rst = stmt.executeQuery(sql1); int i_no = 0; while (rst.next()) { i_no = i_no + 1; %> <% } if(i_no == 0){ %> <% } rst.close(); %>
No Evaluation name Usage evaluation index Index Item
View
Evaluator
Management
Evaluation target
management
Evaluation Category/td> View pledge Apply/End/td> Results management Edit Del
<%=i_no%> <%=rst.getString("c_name")%> <%=rst.getString("ji_name")%> " target="_blank">[View] ">[Evaluator Management] ">[Target management] <%if(rst.getString("part_name") ==null){%> No classification <%}else{%> <%=rst.getString("part_name")%> <%}%> " target="_blank">[View] <%if(rst.getInt("c_now") ==0){%> &c_now=1'}">Waiting <%}%> <%if(rst.getInt("c_now") ==1){%> &c_now=2'}">Proceeding <%}%> <%if(rst.getInt("c_now") ==2){%> End <%}%> <%if(rst.getInt("c_now") >0){%> ">[Result] <%}%> <%if(rst.getInt("c_now") ==0){%> &c_project_no=<%=c_project_no%>">[Edit] <%}%> <%if(rst.getInt("c_now") ==0){%> '}">[Del] <%}%>
There is no data.
Registration of new evaluation project
<%@include file="/field_manager/include/manager_bottom.jsp"%>