일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- 강좌
- 리브레캐드
- 코딩
- 운정
- Unity
- oracle
- 시작하기
- 오라클
- 안드로이드
- 라즈베리파이
- s4a
- 파주
- MSSQL
- Android
- Spring Security
- 설정
- 유니티
- 잡토이 메이킹 코딩 학원
- jsp
- 설치
- 예제
- 톰캣
- mysql
- html5
- 스크래치
- librecad
- 아두이노
- tomcat
- 잡토이
- jobtoy
- Today
- Total
랩제이
ibatis 쿼리 순서 본문
<!-- auth grp cd 목록 -->
<select id="authGrpCd" parameterClass="java.util.Map" resultClass="hashmap">
<![CDATA[
select auth_grp_cd, auth_grp_nm, auth_type from auth_grp
where use_yn = 'Y'
order by app_gubun asc
]]>
</select>
@SuppressWarnings("unchecked")
@Override
public List<HashMap<String,Object>> getAuthGrpCdList(Map<String, Object> condition) throws Exception {
return (List<HashMap<String,Object>>)sqlMap.queryForList("admin.authGrpCd",condition);
}
public List<HashMap<String,Object>> getAuthGrpCdList(Map<String, Object> condition) throws Exception {
return adminDao.getAuthGrpCdList(condition);
}
// auth grp cd 목록 가져오기
List<HashMap<String, Object>> authGrpCdList = adminService.getAuthGrpCdList(condition);
<c:set var="authGrpCd_sel" value="${authGrpCd_sel}" />
<c:forEach items="${authGrpCdList}" var="authGrpCd">
<option value="${authGrpCd.auth_grp_cd}" <c:if test="${auth_grp_cd eq authGrpCd.auth_grp_cd}" >selected="selected"</c:if> >${authGrpCd.auth_grp_nm}</option>
</c:forEach>
'programming > spring_security' 카테고리의 다른 글
생각하나 (0) | 2017.07.12 |
---|---|
[Spring Security] JSP에서 userRealName 가져오기 (0) | 2017.06.09 |
[Spring Security] MySQL 테이블 만들기 insert, Select하기 (0) | 2016.09.29 |
[Spring Security] 페이지 이동에 대해서 (0) | 2016.09.05 |
[Spring Security] DB에서 로그인 정보 가져오기 (5) | 2016.08.18 |