Package com.mossle.api.form

Examples of com.mossle.api.form.FormDTO


        String sql = "select id,name from FORM_TEMPLATE";
        List<Map<String, Object>> list = jdbcTemplate.queryForList(sql);
        List<FormDTO> formDtos = new ArrayList<FormDTO>();

        for (Map<String, Object> map : list) {
            FormDTO formDto = new FormDTO();
            formDtos.add(formDto);
            formDto.setId(map.get("id").toString());
            formDto.setName(map.get("name").toString());
        }

        return formDtos;
    }
View Full Code Here

TOP

Related Classes of com.mossle.api.form.FormDTO

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.