ibatis list에 map을 담아서 넘겼을 때 iterate ( foreach / 반복 / 루프 ) 방법
1. java List> list = new ArrayList>(); Map tmp = new HashMap(); tmp.put("code1", "A"); tmp.put("desc1", "A"); list.add(tmp); tmp = new HashMap(); tmp.put("code1", "B"); tmp.put("desc1", "B"); list.add(tmp); Map param = new HashMap(); param.put("codeList", list); 2. ibatis ( xml ) SELECT user_id AS "$cardList[].code1$", user_name AS "$cardList[].code1$", 3. 참고사항 select 에 넣을때는 $을 사용해야 함.