Package org.jeecgframework.codegenerate.database

Examples of org.jeecgframework.codegenerate.database.JeecgReadTable


      HttpServletResponse response, DataGrid dataGrid) {
    String tableName = request.getParameter("id");

    List<String> list = new ArrayList<String>();
    try {
      list = new JeecgReadTable().readAllTableNames();
    } catch (SQLException e1) {
      e1.printStackTrace();
    }
    String html = "";
    Collections.sort(list,new StringSort(dataGrid.getOrder()));
View Full Code Here


          if (no != "")
            no += ",";
          no += ids[i];
          continue;
        }
        List<Columnt> list = new JeecgReadTable()
            .readOriginalTableColumn(ids[i]);
        CgFormHeadEntity cgFormHead = new CgFormHeadEntity();
        cgFormHead.setJformType(1);
        cgFormHead.setIsCheckbox("Y");
        cgFormHead.setIsDbSynch("Y");
View Full Code Here

    AjaxJson j =  new AjaxJson();
    String tableName = generateEntity.getTableName();
    String ftlDescription = generateEntity.getFtlDescription();
    try {
      //step.2 判断表是否存在
      boolean tableexist = new JeecgReadTable().checkTableExist(tableName);
      if(tableexist){
        //step.3 调用代码生成器
        new CgformCodeGenerate(createFileProperty,generateEntity).generateToFile();
        j.setMsg("成功生成增删改查->功能:"+ftlDescription);
      }else{
View Full Code Here

TOP

Related Classes of org.jeecgframework.codegenerate.database.JeecgReadTable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.