- List<Map<String , Object>> groupList = new ArrayList<Map<String , Object>>();
- List<Map<String , Object>> depList = new ArrayList<Map<String , Object>>();
- List<Map<String , Object>> personList = new ArrayList<Map<String , Object>>();
- HashMap paramMap = new HashMap();
- paramMap.put("groupList", paramGroupList);
- paramMap.put("depList", paramGroupList);
- paramMap.put("empList", paramPersonList);
- groupList = menuListBO.getGroupAuthList(paramMap);
- depList = menuListBO.getDepAuthList(paramMap);
- personList = menuListBO.getPersonList(paramMap);
- ..................................................
- <select id="selectDepAuthList" resultClass="dmap" parameterClass="java.util.HashMap">
- SELECT *
- FROM tt_dept
- <dynamic prepend="where">
- <isNotNull prepend="and">
- dept_id IN
- <iterate property="depList" open="(" close=")" conjunction=",">
- #depList[]#
- </iterate>
- </isNotNull>
- </dynamic>
- </select>