usergroupmod.jsp~19~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
- <%request.setCharacterEncoding("GBK"); %>
- <html>
- <head>
- <title>
- 天津市经贸委在线办公
- </title>
- </head>
- <body bgcolor="#ffffff">
- <h1>
- 用户组修改
- </h1>
- <p>
- <%
- String message = request.getAttribute("msg")==null?"":request.getAttribute("msg").toString();
- out.print(message);
- DBConn dbc = new DBConn();
- String sql = "select ug.usergroup,d.deparname,ug.ugmd5 from usergroup as ug inner join [user] as u on ug.userid = u.id inner join deparment as d on ug.depid = d.id group by ug.usergroup,d.deparname,ug.ugmd5";
- String[][] ug = dbc.getArray(sql);
- if(ug==null){
- out.print("没有用户组!");
- }else{
- %>
- </p>
- <table width="90%" border="1">
- <tr>
- <td>用户组</td>
- <td>用户组所属</td>
- <td>修改用户组</td>
- <td>删除用户组</td>
- </tr>
- <%for(int i = 0; i < ug.length; i++){ %>
- <tr>
- <td><%=ug[i][0] %></td>
- <td><%= %></td>
- <td><a href="usergroupmodify.jsp?ug=">修改</a></td>
- <td><a href="usergroupdel.jsp?ug=">删除</a></td>
- </tr>
- <%
- }
- %>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- <%
- }
- %>
- <p> </p>
- </body>
- </html>