123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
- <%@ page
- import ="com.sysmodel.datamodel.*,
- com.sysmodel.datamodel.xmlmodel.impl.*"
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>数据库字段中英文翻译分析</title>
- <meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="cache-control" content="no-cache">
- <meta http-equiv="expires" content="0">
- <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
- <meta http-equiv="description" content="This is my page">
- </head>
- <body topmargin="0">
- <br>
- <table align="center" width="80%" border="1" class="ltab2">
- <tr>
- <td><b>中文名称</b></td>
- <td><b>English name</b></td>
- <td><b>系统应用名</b></td>
- <td><b>所在表</b></td>
- </tr>
-
-
- <%
- ArrayList arrModules = SysModelImpl.getInstance().getMdpModules();
- ArrayList arrConstants = SysModelImpl.getInstance().getMdpConstants();
- ArrayList arrMdpClasses = SysModelImpl.getInstance().getMdpClasses();
-
- MdpModuleImpl Module = null;
- MdpConstantImpl MdpConstant = null;
- for (int i = 0 ; i< arrModules.size() ; i++ ){
- Module = (MdpModuleImpl)arrModules.get(i);
- if(!Module.getNgoogleEn().equals("")){
- %>
- <tr>
- <td><%= Module.getName()%> </td>
- <td><%= Module.getNgoogleEn()%></td>
- <td><%= Module.getDescription()%></td>
- <td></td>
- </tr>
- <%
- }
- }
-
-
- for (int i = 0 ; i< arrConstants.size() ; i++ ){
- MdpConstant = (MdpConstantImpl)arrConstants.get(i);
- if(!MdpConstant.getNgoogleEn().equals("")){
- %>
- <tr>
- <td><%= MdpConstant.getDescription()%> </td>
- <td><%= MdpConstant.getNgoogleEn()%></td>
- <td><%= MdpConstant.getCodeName()%></td>
- <td></td>
- </tr>
- <%
- }else{
- }
- }
- MdpClassImpl imp = null;
- for (int i = 0 ; i< arrMdpClasses.size() ; i++ ){
-
- imp = (MdpClassImpl)arrMdpClasses.get(i);
- if(!imp.getNgoogleEn().equals("")){
- %>
- <tr>
- <td><B><%=imp.getDescription()%></B> </td>
- <td><%=imp.getNgoogleEn()%></td>
- <td><%=imp.getName()%></td>
- <td><%=imp.getDescription()%></td>
- </tr>
- <%
- }
- List mdpAttributes = imp.getAllMdpAttributes();
- MdpAttributeImpl mdpAttribute = null;
- for (int j = 0 ; j<mdpAttributes.size() ; j++ ){
-
- mdpAttribute = (MdpAttributeImpl)mdpAttributes.get(j);
- if(!mdpAttribute.getNgoogleEn().equals("")){
- %>
- <tr>
- <td><%=mdpAttribute.getDescription()%></td>
- <td><%=mdpAttribute.getNgoogleEn()%></td>
- <td><%=mdpAttribute.getName()%></td>
- <td><%=imp.getDescription()%></td>
- </tr>
- <%
- }
- }
- }
- %>
- </table>
- </body>
- </html>
|