class GeneratorServiceImpl implements GeneratorService {

    @Autowired
    private GeneratorTableService generatorTableService;

    @Override
    public List<GeneratorCodeVo> previewCode(String tableName) {
        GeneratorTable generatorTable = generatorTableService.getGeneratorTableInfo(tableName);
        return GeneratorUtil.generatorCodeData(tableName, generatorTable);
    }

    @Override
    public void generatorCode(List<String> tableNames) throws Exception {
        for (String tableName : tableNames) {
            GeneratorTable generatorTable = generatorTableService.getGeneratorTableInfo(tableName);
            GeneratorUtil.generatorCode(tableName, generatorTable);
        }
    }

    @Override
    public Map<String, List<GeneratorCodeVo>> downloadCode(List<String> tableNames) {<FILL_FUNCTION_BODY>}

}

        Map<String, List<GeneratorCodeVo>> map = new LinkedHashMap<>();
        for (String tableName : tableNames) {
            GeneratorTable generatorTable = generatorTableService.getGeneratorTableInfo(tableName);
            List<GeneratorCodeVo> generatorCodeVos = GeneratorUtil.generatorCodeData(tableName, generatorTable);
            map.put(tableName, generatorCodeVos);
        }
        return map;
    
<no_super_class>