📄 querydataauthinfo_jsp.java
字号:
if(drdeptid.equalsIgnoreCase(did)) {
out.write("\r\n ");
out.write("<tr height=\"25\" > \r\n ");
out.write("<td width=\"100%\" height=\"24\" colspan=\"4\" align=\"left\" class=\"common1\" > 对角色:");
out.print(drname);
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr bgcolor=\"f5f5f5\" height=\"20\"> \r\n ");
datarecordset.beforefirst();
while(datarecordset.next()){
String authunit=datarecordset.getDAI_BasicUnitID();
String authmrole= datarecordset.getDAI_MasterRoleID() ;
String authcrole=datarecordset.getDAI_ClientRoleID() ;
String optype=datarecordset.getDAI_OperationType();
if(mroleid.equalsIgnoreCase(authmrole)&drid.equalsIgnoreCase(authcrole)&authunit.equalsIgnoreCase(moduleid+"-"+unitid)&optype.equalsIgnoreCase("q")){
out.write("\r\n ");
out.write("<td height=\"24\" align=\"left\" class=\"common1\"> 可浏览");
out.write("</td>\r\n ");
break;}}
out.write("\r\n ");
datarecordset.beforefirst();
while(datarecordset.next()){
String authunit=datarecordset.getDAI_BasicUnitID();
String authmrole= datarecordset.getDAI_MasterRoleID() ;
String authcrole=datarecordset.getDAI_ClientRoleID() ;
String optype=datarecordset.getDAI_OperationType();
if(mroleid.equalsIgnoreCase(authmrole)&drid.equalsIgnoreCase(authcrole)&authunit.equalsIgnoreCase(moduleid+"-"+unitid)&optype.equalsIgnoreCase("u")){
out.write("\r\n ");
out.write("<td class=\"common1\" align=\"left\">可修改");
out.write("</td>\r\n ");
break;}}
out.write("\r\n ");
datarecordset.beforefirst();
while(datarecordset.next()){
String authunit=datarecordset.getDAI_BasicUnitID();
String authmrole= datarecordset.getDAI_MasterRoleID() ;
String authcrole=datarecordset.getDAI_ClientRoleID() ;
String optype=datarecordset.getDAI_OperationType();
if(mroleid.equalsIgnoreCase(authmrole)&drid.equalsIgnoreCase(authcrole)&authunit.equalsIgnoreCase(moduleid+"-"+unitid)&optype.equalsIgnoreCase("d")){
out.write("\r\n ");
out.write("<td class=\"common1\" align=\"left\">可删除");
out.write("</td>\r\n ");
break;}}
out.write("\r\n ");
out.write("</tr>\r\n ");
}
out.write("\r\n ");
}
out.write("\r\n ");
out.write("<tr height=\"25\"> \r\n ");
out.write("<td width=\"100\" height=\"10\" colspan=\"4\" >");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}
out.write("\r\n ");
} else {
out.write("\r\n ");
//////////////////////////////////////////////////////
out.write("\r\n ");
if(qdegree=='3'| udegree=='3' |ddegree=='3' |qdegree=='9'| udegree=='9' |ddegree=='9') {
out.write("\r\n ");
out.write("<tr height=\"18\" > \r\n ");
out.write("<td height=\"24\" colspan=\"4\" align=\"left\" bgcolor=\"f5f5f5\" class=\"tdC\" >");
out.write("<strong>部门:");
out.print(dname);
out.write("</strong>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
recordset.beforefirst();
while(recordset.next()){
//String druid=recordset.getDAR_UserGroupID();
String drdeptid=recordset.getDAR_DeptID();
String drid=recordset.getDAR_RoleID();
String drname=recordset.getDAR_RoleName();
out.write("\r\n ");
if(drdeptid.equalsIgnoreCase(did)) {
out.write("\r\n ");
out.write("<tr height=\"25\" > \r\n ");
out.write("<td width=\"100%\" height=\"24\" colspan=\"4\" align=\"left\" class=\"common1\"> 对角色:");
out.print(drname);
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr height=\"20\"> \r\n ");
datarecordset.beforefirst();
while(datarecordset.next()){
String authunit=datarecordset.getDAI_BasicUnitID();
String authmrole= datarecordset.getDAI_MasterRoleID() ;
String authcrole=datarecordset.getDAI_ClientRoleID() ;
String optype=datarecordset.getDAI_OperationType();
if(mroleid.equalsIgnoreCase(authmrole)&drid.equalsIgnoreCase(authcrole)&authunit.equalsIgnoreCase(moduleid+"-"+unitid)&optype.equalsIgnoreCase("q")){
out.write("\r\n ");
out.write("<td height=\"24\" align=\"left\" bgcolor=\"f5f5f5\" class=\"common1\" > 可浏览");
out.write("</td>\r\n ");
break;}}
out.write("\r\n ");
datarecordset.beforefirst();
while(datarecordset.next()){
String authunit=datarecordset.getDAI_BasicUnitID();
String authmrole= datarecordset.getDAI_MasterRoleID() ;
String authcrole=datarecordset.getDAI_ClientRoleID() ;
String optype=datarecordset.getDAI_OperationType();
if(mroleid.equalsIgnoreCase(authmrole)&drid.equalsIgnoreCase(authcrole)&authunit.equalsIgnoreCase(moduleid+"-"+unitid)&optype.equalsIgnoreCase("u")){
out.write("\r\n ");
out.write("<td align=\"left\" bgcolor=\"f5f5f5\" class=\"common1\" >可修改");
out.write("</td>\r\n ");
break;}}
out.write("\r\n ");
datarecordset.beforefirst();
while(datarecordset.next()){
String authunit=datarecordset.getDAI_BasicUnitID();
String authmrole= datarecordset.getDAI_MasterRoleID() ;
String authcrole=datarecordset.getDAI_ClientRoleID() ;
String optype=datarecordset.getDAI_OperationType();
if(mroleid.equalsIgnoreCase(authmrole)&drid.equalsIgnoreCase(authcrole)&authunit.equalsIgnoreCase(moduleid+"-"+unitid)&optype.equalsIgnoreCase("d")){
out.write("\r\n ");
out.write("<td align=\"left\" bgcolor=\"f5f5f5\" class=\"common1\" >可删除");
out.write("</td>\r\n ");
break;}}
out.write("\r\n ");
out.write("</tr>\r\n ");
}
out.write("\r\n ");
}
out.write("\r\n ");
out.write("<tr height=\"25\"> \r\n ");
out.write("<td width=\"100\" height=\"10\" colspan=\"4\" >");
out.write("</td>\r\n ");
out.write("</tr>\r\n\r\n ");
}
out.write("\r\n ");
}
out.write("\r\n ");
}
out.write("\r\n ");
out.write("<!--");
out.write("<tr height=\"25\">");
out.write("<td bgcolor=\"#FF0000\" colspan=\"4\">");
out.write("</td>");
out.write("</tr>-->\r\n ");
out.write("</table>");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr bgcolor=\"#FFFFFF\" height=\"25\"> \r\n ");
out.write("<td colspan=\"4\" class=\"tdB\"> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
}
}
}
out.write("\r\n ");
}
out.write("\r\n ");
out.write("<tr> \r\n ");
out.write("<td colspan=\"6\" > ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("</table>\r\n\t ");
out.write("<br>\r\n\t");
out.write("</td>\r\n ");
out.write("</tr>\r\n");
out.write("</table>\r\n");
out.write("</form>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -