createExc.jsp 925 B

1234567891011121314151617181920
  1. <%@ page contentType="text/html; charset=UTF-8" language="java"%>
  2. <%@ page
  3. import ="com.sysmodel.datamodel.xmlmodel.ModelFactory,
  4. com.sysmodel.datamodel.xmlmodel.able.SysModel,
  5. com.sysmodel.datamodel.xmlmodel.able.Template,
  6. com.persistence.DBdll.SysOperator"%>
  7. <%
  8. SysModel sysmodel = ModelFactory.getSysmodel();
  9. String type = request.getParameter("type");
  10. String CodeName = request.getParameter("CodeName") == null ? "" : request.getParameter("CodeName");
  11. Template template = sysmodel.getTemplateByName(CodeName);
  12. SysOperator operator = new SysOperator();
  13. out.println("<br>");
  14. out.println("-- 常量模板表 [" + template.getName() + template.getDescription() + template.getTableName() + "] 表备注DLL语句生成.... <br>");
  15. out.println("<font color=\"#339900\">---------<br>");
  16. out.print(operator.createConstantTableComment(template,type));
  17. out.println("-------------------</font><br>");
  18. %>