public static void execSQL(){
        String model = resource.getProValue("dbMode");
        if("1".equals(model)){
            return ;
        }
        String space = resource.getProValue("dbTableSpace");
        String index = resource.getProValue("dbIndex");
        String table = resource.getProValue("dbTable");
        String init = resource.getProValue("dbInit");

        String path = ProjectService.class.getResource("/").getPath();
        if("1".equals(space)){
            String spaceSql = path+resource.getProValue("spaceSql");
            DBExec exec = new DBExec();
            try {
                List<String> sqls = exec.readSql(spaceSql);
                exec.execute(sqls);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        if("1".equals(index)){
            String spaceSql = path+resource.getProValue("indexSql");
            DBExec exec = new DBExec();
            try {
                List<String> sqls = exec.readSql(spaceSql);
                exec.execute(sqls);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        if("1".equals(table)){
            String spaceSql = path+resource.getProValue("tableSql");
            DBExec exec = new DBExec();
            try {
                List<String> sqls = exec.readSql(spaceSql);
                exec.execute(sqls);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        if("1".equals(init)){
            String spaceSql = path+resource.getProValue("initSql");
            DBExec exec = new DBExec();
            try {
                List<String> sqls = exec.readSql(spaceSql);
                exec.execute(sqls);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }

    }